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:
Richard Cohen 2023-01-26 14:10:26 +00:00
parent 17820ec261
commit a2ffc7fe75

View File

@ -195,6 +195,7 @@ _br_find_exe (Gnc_GbrInitError *error)
result = g_strdup (result);
fclose (f);
g_free (line);
return result;
#endif /* ENABLE_BINRELOC */
}