]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes in shared code that don't affect open-vm-tools functionality.
authorVMware, Inc <>
Thu, 18 Nov 2010 21:23:23 +0000 (13:23 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Thu, 18 Nov 2010 21:23:23 +0000 (13:23 -0800)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/lock/ulStats.c

index 6fec30fe3dbbd5bb6076c7c0e72703a4f5e3a3bd..768c22742f0b7085859f818fc749a3f3199eb652 100644 (file)
@@ -989,6 +989,10 @@ MXUser_PerLockData(void)
 {
    MXRecLock *listLock = MXUserInternalSingleton(&mxLockMemPtr);
 
+   if (mxUserStatsFunc == NULL) {
+      return;
+   }
+
    if (listLock && MXRecLockTryAcquire(listLock)) {
       ListItem *entry;
       uint32 highestSerialNumber;