opt: re-enable memleak fix for duplicated options.
authorClément Bœsch <clement.boesch@smartjog.com>
Thu, 15 Nov 2012 15:11:04 +0000 (17:11 +0200)
committerClément Bœsch <ubitux@gmail.com>
Wed, 13 Mar 2013 06:25:16 +0000 (07:25 +0100)
commit19c41c6d8ef6cc34cfde6bf877e059689e763bb7
treea3b06db50a8749b5e8acbefb79bb80fa7445c188
parent12fe78a77bf5c2f7e31dcdd0fa4c40d8dc11c762
opt: re-enable memleak fix for duplicated options.

The memleak fix in a1bcc76e was causing problems when the original
string wasn't NULL or av_malloc'ed, thus was disabled. It seems the only
OPT_STRING occurence where it needed to be fixed is in ffserver. This
commit fixes that specific problem and so re-enable the original code.
cmdutils.c
ffserver.c