Patch from Alexandros Kostopoulos <akostop@inaccessnetworks.com>
git-svn-id: http://opkg.googlecode.com/svn/trunk@133
e8e0d7a0-c8d9-11dd-a880-
a1081c7ac358
opkg_message(conf,OPKG_INFO,"Copying %s to %s...", file_src, dest_file_name);
ret = file_copy(src + 5, dest_file_name);
opkg_message(conf,OPKG_INFO,"Done\n");
+ free(src_basec);
return ret;
}
opkg_message(conf,OPKG_ERROR, "%s: ERROR: failed to unlink %s: %s\n",
__FUNCTION__, tmp_file_location, strerror(errno));
free(tmp_file_location);
+ free(src_basec);
return errno;
}