From: VMware, Inc <> Date: Tue, 26 Apr 2011 20:45:55 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2011.04.25-402641~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66cd15635c03eade74c73bd4c751a137270d5c14;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/file/fileTemp.c b/open-vm-tools/lib/file/fileTemp.c index de6525810..711076283 100644 --- a/open-vm-tools/lib/file/fileTemp.c +++ b/open-vm-tools/lib/file/fileTemp.c @@ -51,6 +51,8 @@ File_MakeSafeTemp(ConstUnicode tag, // IN (OPT): Unicode dir = NULL; Unicode fileName = NULL; + ASSERT(presult); + *presult = NULL; if (tag && File_IsFullPath(tag)) {