forked from osmocom/wireshark
wsutil/filesystem: Fix potential memory leak
We now use the 'install_prefix' variable on multiple platforms, not just MSYS2.
This commit is contained in:
parent
d9353d1684
commit
66bd99f1a8
|
@ -2668,10 +2668,8 @@ free_progdirs(void)
|
|||
progfile_dir = NULL;
|
||||
g_free(doc_dir);
|
||||
doc_dir = NULL;
|
||||
#ifdef __MINGW64__
|
||||
g_free(install_prefix);
|
||||
install_prefix = NULL;
|
||||
#endif
|
||||
#if defined(HAVE_PLUGINS) || defined(HAVE_LUA)
|
||||
g_free(plugin_dir);
|
||||
plugin_dir = NULL;
|
||||
|
|
Loading…
Reference in New Issue