There is no need to use a buffer at all.
[oweals/opkg-lede.git] / libopkg / libopkg.c
index 07de2c655913f8d6e04dc744aa6a4c26df848f96..312198407b0bc4475594c31179b0290a93f04e42 100644 (file)
@@ -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;