Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gnc-quotes] g_free a char* from gnc_prefs_get_string
ultimately gets char* from g_settings_get_string and must be freed
- Loading branch information
1 parent
f9bb056
commit 97f0653
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getenv returns a pointer to an libc internal buffer. Trying to free it will crash.