Fix problems in error list
authorpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 29 Oct 2009 09:07:11 +0000 (09:07 +0000)
committerpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 29 Oct 2009 09:07:11 +0000 (09:07 +0000)
commitbb61b4e2022bea1f8728d18dac18239ed6931826
tree0df7ce48dc61847a15d2fa0b6d7d1c08fe8563f5
parent26e659c660b69b5ecdd1bd6f6bf85520211b810e
Fix problems in error list

push_error_list() should allocate the sizeof(struct) not sizeof(pointer
to struct).

And add some memory deallocation in error paths found while looking at
this.

git-svn-id: http://opkg.googlecode.com/svn/trunk@227 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/libopkg.c
libopkg/opkg_cmd.c
libopkg/opkg_utils.c
libopkg/opkg_utils.h