X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libopkg%2Flibopkg.c;h=312198407b0bc4475594c31179b0290a93f04e42;hb=0029afd9026a9f82c68c86a81be306ff835a30d5;hp=07de2c655913f8d6e04dc744aa6a4c26df848f96;hpb=609411c43f5da9bc507aa04f47f9b3ba12a7f510;p=oweals%2Fopkg-lede.git diff --git a/libopkg/libopkg.c b/libopkg/libopkg.c index 07de2c6..3121984 100644 --- a/libopkg/libopkg.c +++ b/libopkg/libopkg.c @@ -1,6 +1,6 @@ /* opkglib.c - the opkg package management system - Florina Boor + Florian Boor Copyright (C) 2003 kernel concepts @@ -97,6 +97,9 @@ opkg_op (int argc, char *argv[]) err = opkg_cmd_exec (cmd, &opkg_conf, argc - optind, (const char **) (argv + optind), NULL); +#ifdef HAVE_CURL + opkg_curl_cleanup(); +#endif opkg_conf_deinit (&opkg_conf); return err;