[ostree] pull: Fix a memory leak



commit d5a1f1deda602e00cd55724ae7f0c296a38b3994
Author: Colin Walters <walters verbum org>
Date:   Thu Jun 28 15:18:10 2012 -0400

    pull: Fix a memory leak

 src/ostree/ostree-fetcher.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ostree/ostree-fetcher.c b/src/ostree/ostree-fetcher.c
index 0624aae..c1239cb 100644
--- a/src/ostree/ostree-fetcher.c
+++ b/src/ostree/ostree-fetcher.c
@@ -58,6 +58,7 @@ pending_uri_free (OstreeFetcherPendingURI *pending)
   if (pending->refcount > 0)
     return;
 
+  soup_uri_free (pending->uri);
   g_clear_object (&pending->self);
   g_clear_object (&pending->tmpfile);
   g_clear_object (&pending->request);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]