summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_utils.h
diff options
context:
space:
mode:
authorpixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-10-29 05:07:11 (EDT)
committer pixdamix <pixdamix@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-10-29 05:07:11 (EDT)
commitbb61b4e2022bea1f8728d18dac18239ed6931826 (patch)
tree0df7ce48dc61847a15d2fa0b6d7d1c08fe8563f5 /libopkg/opkg_utils.h
parent26e659c660b69b5ecdd1bd6f6bf85520211b810e (diff)
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
Diffstat (limited to 'libopkg/opkg_utils.h')
-rw-r--r--libopkg/opkg_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/opkg_utils.h b/libopkg/opkg_utils.h
index 226c7d1..ed9215b 100644
--- a/libopkg/opkg_utils.h
+++ b/libopkg/opkg_utils.h
@@ -23,7 +23,7 @@
void push_error_list(struct errlist **errors,char * msg);
void reverse_error_list(struct errlist **errors);
-void free_error_list();
+void free_error_list(struct errlist **errors);
long unsigned int get_available_blocks(char * filesystem);
char **read_raw_pkgs_from_file(const char *file_name);