-/* opkg_upgrade.c - the itsy package management system
+/* opkg_upgrade.c - the opkg package management system
Carl D. Worth
Copyright (C) 2001 University of Southern California
General Public License for more details.
*/
-#include "opkg.h"
+#include "includes.h"
#include "opkg_install.h"
#include "opkg_message.h"
old->state_want = SW_DEINSTALL;
}
+ free(old_version);
+ free(new_version);
new->state_flag |= SF_USER;
return opkg_install_pkg(conf, new,1);
}