From: Jennifer Liu Date: Wed, 18 Jul 2018 19:15:49 +0000 (-0700) Subject: Rename cleanup X-Git-Tag: v0.0.29~62^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb46a898e6565e5bc1ee861999384f806f83831;p=thirdparty%2Fzstd.git Rename cleanup --- diff --git a/contrib/randomDictBuilder/main.c b/contrib/randomDictBuilder/main.c index 36c4326b6..4751a9e1c 100644 --- a/contrib/randomDictBuilder/main.c +++ b/contrib/randomDictBuilder/main.c @@ -114,7 +114,7 @@ int RANDOM_trainFromFiles(const char* dictFileName, sampleInfo *info, if (ZDICT_isError(dictSize)) { DISPLAYLEVEL(1, "dictionary training failed : %s \n", ZDICT_getErrorName(dictSize)); /* should not happen */ result = 1; - goto _cleanup; + goto _done; } /* save dict */ DISPLAYLEVEL(2, "Save dictionary of size %u into file %s \n", (U32)dictSize, dictFileName); @@ -122,7 +122,7 @@ int RANDOM_trainFromFiles(const char* dictFileName, sampleInfo *info, } /* clean up */ -_cleanup: +_done: free(dictBuffer); return result; }