summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2012-12-17 00:26:34 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-16 15:56:58 -1000
commit28cc67c9a1b6c24efc2bcac12587de45484e05a6 (patch)
treedcdd689acc8f9a934769b35f3ef198be2968a57a /libdivecomputer.h
parent7b457d1b5c44db5db1a2bace178fd9c3e447a65c (diff)
downloadsubsurface-28cc67c9a1b6c24efc2bcac12587de45484e05a6.tar.gz
Fixed a couple of memory leaks related to the download dialog
In render_dc_vendor() and render_dc_product(), there is no need to allocate memory for the texts that are about to be added in the combo box trees. Most GTK widgets seem to make copies of the passed text to them, using g_strdup() and automatically release said memory when a widget is destroyed. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
0 files changed, 0 insertions, 0 deletions