]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix coverity complaint; not a real bug
authorOliver Kurth <okurth@vmware.com>
Tue, 4 Sep 2018 22:40:58 +0000 (15:40 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 4 Sep 2018 22:40:58 +0000 (15:40 -0700)
open-vm-tools/vgauth/lib/impersonate.c

index 8d1505f80c1c6486d3bb5c58b8b3b47634582c71..a1038f6a7a66d36fd4ba68c810545b25fbc9502e 100644 (file)
@@ -319,9 +319,9 @@ VGAuth_UserHandleFree(VGAuthUserHandle *handle)
       VGAuth_FreeAliasInfoContents(&(handle->details.val.samlData.aliasInfo));
    }
 
-   g_free(handle);
+   Debug("%s: Freeing handle %p\n", __FUNCTION__, handle);
 
-   Debug("%s: Freed handle %p\n", __FUNCTION__, handle);
+   g_free(handle);
 }