diff --git a/interface/vmcs_host/linux/vcfilesys.c b/interface/vmcs_host/linux/vcfilesys.c index 9f3ebf159..cadf6cb21 100644 --- a/interface/vmcs_host/linux/vcfilesys.c +++ b/interface/vmcs_host/linux/vcfilesys.c @@ -1014,12 +1014,10 @@ int64_t vc_hostfs_totalspace64(const char *inPath) { ret = -1; } - } - - DEBUG_MINOR( "vc_hostfs_totalspace for '%s' returning %" PRId64 "", path, ret ); - if (path) + DEBUG_MINOR( "vc_hostfs_totalspace for '%s' returning %" PRId64 "", path, ret ); free( path ); + } return ret; }