Remove remaining uses of pkg->*_str arrays and free() them after parsing.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 24 Nov 2009 02:35:28 +0000 (02:35 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 24 Nov 2009 02:35:28 +0000 (02:35 +0000)
commit0673e730b861851f27505447862e942599d6705b
treea75cb85a76d6fa03867693381b69240bf181de87
parent22be42698db49235c24dbed4366d197a8342b064
Remove remaining uses of pkg->*_str arrays and free() them after parsing.

Saves about 800kb in peak memory usage for my package list (6000 packages).

git-svn-id: http://opkg.googlecode.com/svn/trunk@356 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/pkg.c
libopkg/pkg_depends.c