-/* opkg_install.c - the itsy package management system
+/* opkg_install.c - the opkg package management system
Carl D. Worth
General Public License for more details.
*/
-#include "opkg.h"
+#include "includes.h"
#include <errno.h>
#include <dirent.h>
#include <glob.h>
#include "opkg_utils.h"
#include "opkg_message.h"
#include "opkg_state.h"
+#include "opkg_defines.h"
#include "sprintf_alloc.h"
#include "file_util.h"
}
if (ndepends <= 0) {
+ pkg_vec_free(depends);
return 0;
}
signal(SIGINT, old_handler);
else
sigprocmask(SIG_UNBLOCK, &newset, &oldset);
-
+ pkg_vec_free (replacees);
return 0;
else
sigprocmask(SIG_UNBLOCK, &newset, &oldset);
+ pkg_vec_free (replacees);
return err;
}
opkg_set_current_state (conf, OPKG_STATE_NONE, NULL);