mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix memory leak in binreloc function _br_find_exe()
Ironically, it seems to be in a code path that is only followed when using valgrind
This commit is contained in:
parent
17820ec261
commit
a2ffc7fe75
@ -195,6 +195,7 @@ _br_find_exe (Gnc_GbrInitError *error)
|
|||||||
|
|
||||||
result = g_strdup (result);
|
result = g_strdup (result);
|
||||||
fclose (f);
|
fclose (f);
|
||||||
|
g_free (line);
|
||||||
return result;
|
return result;
|
||||||
#endif /* ENABLE_BINRELOC */
|
#endif /* ENABLE_BINRELOC */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user