projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atexit() isn't really appropriate for a library.
[oweals/opkg-lede.git]
/
libopkg
/
libopkg.c
diff --git
a/libopkg/libopkg.c
b/libopkg/libopkg.c
index c73c4a3358ed902b1a25279f13a41356442cf8bb..37770eb880f3b11757d1dd67ac31174b2f0c2992 100644
(file)
--- a/
libopkg/libopkg.c
+++ b/
libopkg/libopkg.c
@@
-96,6
+96,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;