]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[iksemel] Fix memory leak
authorAndrey Volk <andywolk@gmail.com>
Mon, 19 Apr 2021 20:33:43 +0000 (23:33 +0300)
committerAndrey Volk <andywolk@gmail.com>
Tue, 19 Oct 2021 17:19:25 +0000 (20:19 +0300)
libs/iksemel/tools/iksroster.c

index 144f3de189e94589551b07aaea8936f8869d589f..e97f81cd15793d423a7d84022e5e7ceab093cf8f 100644 (file)
@@ -374,6 +374,6 @@ main (int argc, char *argv[])
 #ifdef _WIN32
        WSACleanup ();
 #endif
-
+       if (file) free(file);
        return 0;
 }