From: Dirk Hohndel Date: Fri, 17 Aug 2012 16:36:04 +0000 (-0700) Subject: Fix string handling in get_combo_box_entry_text X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=aab94d07ccb890caaa03cf220b442ea5ce228fc1;hp=aab94d07ccb890caaa03cf220b442ea5ce228fc1;p=ext%2Fsubsurface.git Fix string handling in get_combo_box_entry_text 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 ---