diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2012-10-04 23:52:09 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-10-05 23:44:37 +0900 |
commit | b272fb8c3b7c552e4519d4e19af99d8139eaf733 (patch) | |
tree | 75c1ba6bd50835ee3340984f64ab8ef4e7a13e03 /packaging/subsurface.spec | |
parent | f928be5061744bb38c3aff8ea41dbd0c42851cbc (diff) | |
download | subsurface-b272fb8c3b7c552e4519d4e19af99d8139eaf733.tar.gz |
Fixed some memory leaks related to string configuration entries
Each time we retrieve a string configuration entry via
subsurface_get_conf(), all the multiplatform methods in linux.c,
macos.c, windows.c allocate memory for the returned value.
In gtk-gui.c, lets try to release the memory at:
default_dive_computer_vendor, default_dive_computer_product, divelist_font
before assigning a new address to these pointers.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/subsurface.spec')
0 files changed, 0 insertions, 0 deletions