running libopkg_test
git-svn-id: http://opkg.googlecode.com/svn/trunk@116
e8e0d7a0-c8d9-11dd-a880-
a1081c7ac358
output_buffer = unarchive(uncompressed_stream, out_stream, get_header_tar, free_header_tar, extract_function, prefix, file_list);
}
seek_sub_file(deb_stream, ar_header->size);
+ free (ar_header->name);
+ free (ar_header);
}
gz_close(gunzip_pid);
fclose(deb_stream);
comparison = pkg_compare_versions(pkg, temp);
+ free (temp->version);
free(temp);
if((depends->constraint == EARLIER) &&
if (!pkg->provides_count)
return 0;
+ if (pkg->provides)
+ return 0;
pkg->provides = (abstract_pkg_t **)malloc(sizeof(abstract_pkg_t *) * (pkg->provides_count + 1));
if (pkg->provides == NULL) {
}
hash_insert_pkg(hash, pkg, is_status_file,conf);
} else {
+ pkg_deinit (pkg);
free(pkg);
}
}