]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Fix string handling in get_combo_box_entry_text
authorDirk Hohndel <dirk@hohndel.org>
Fri, 17 Aug 2012 16:36:04 +0000 (09:36 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Fri, 17 Aug 2012 16:36:04 +0000 (09:36 -0700)
Linus' code dropped the const qualifier from the start rating. While
fixing this I stared some more at get_combo_box_entry_text and realized
that the existing code could potentially change the "old" pointer and then
pass it to free(). Tsk-tsk-tsk.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found