[epiphany] embed-utils: Fix leak is is_bang_search()
- From: Michael Catanzaro <mcatanzaro src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [epiphany] embed-utils: Fix leak is is_bang_search()
 
- Date: Fri, 24 Feb 2017 22:35:51 +0000 (UTC)
 
commit f6325a2ce480c485b152ccb499dfb28c411070f1
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Feb 24 16:33:53 2017 -0600
    embed-utils: Fix leak is is_bang_search()
 embed/ephy-embed-utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index 9fa7c52..de1d5d0 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -185,6 +185,7 @@ is_bang_search (const char *address)
 
     if (strstr (address, buffer->str) == address) {
       g_string_free (buffer, TRUE);
+      g_free (bangs);
       return TRUE;
     }
     g_string_free (buffer, TRUE);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]