diff options
author | James Booth <boothj5@gmail.com> | 2012-07-31 23:01:15 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-07-31 23:01:15 +0100 |
commit | 0a42be57a31882d000437cc10729c360f3482ae0 (patch) | |
tree | a3335a5d722d9019addb0346e937d2b0c29d1544 /src/preferences.c | |
parent | f7a542f488c27f3400bbaea909af933c6c9966cd (diff) | |
download | profani-tty-0a42be57a31882d000437cc10729c360f3482ae0.tar.gz |
Cleaning up memory allocated by ncurses pads
Diffstat (limited to 'src/preferences.c')
-rw-r--r-- | src/preferences.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/preferences.c b/src/preferences.c index 6cd7ac78..bcd749ce 100644 --- a/src/preferences.c +++ b/src/preferences.c @@ -96,6 +96,12 @@ prefs_load(void) _load_colours(); } +void +prefs_close(void) +{ + g_key_file_free(prefs); +} + static NCURSES_COLOR_T _lookup_colour(const char * const colour) { |