Commit Graph

6 Commits

Author SHA1 Message Date
arpi 1de6f0cf9e disable free() in string and string_list parsers. yes, it's a hack
(and a little memleak), but i can explain :)
[note it's just a few kB memleak, but it's the price of stability without
full code review/audit - there are hunderds of possible double free()]

the old config parser didn't free() strings/stringlists, but didn't even
allocate them by default. the new one always free(), and it causes
memcorruption/sig11 at cases like this:

char* dvd_device="/dev/dvd";
        {"dvd-device", &dvd_device,  CONF_TYPE_STRING, 0, 0, 0, NULL},

since string constansts (allocated in .TEXT segment) cannot be free()'d


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9178 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-30 21:28:01 +00:00
michael f1d7c16d8d pphelp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8737 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-03 12:40:10 +00:00
arpi 228b8a0107 fixed 'mplayer -nosound xxx' sig11 if configfile have string list options
(actually there was one dword less allocated... and so got corrupted)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8385 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-06 17:11:50 +00:00
nexus 655c735107 FreeBSD fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8263 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-24 01:03:16 +00:00
albeu 20acd250c5 Fix the Gui with NEW_CONFIG
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8169 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-12 12:39:05 +00:00
albeu 126725660d New config system + cleanup of header inter dependency
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8165 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-12 01:56:42 +00:00