Remove some code duplication, check for realloc failure.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 3 Nov 2009 05:56:49 +0000 (05:56 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 3 Nov 2009 05:56:49 +0000 (05:56 +0000)
commitfe5e98ee4104f8d192a0107e0e7bb3fddd582dbe
treed4117e15141eac6b589d3c3850db34f6a7409af9
parent74904d0ba19fca7f543fc2f2cde58ae9e371f9fd
Remove some code duplication, check for realloc failure.

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