From a68c5f88f71682d37924bf2794a163b0b8137e08 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 10 Apr 2014 14:32:25 +0200 Subject: More dunst patches --- x11-misc/dunst-1.0.0/fix_memory_leak_1.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 x11-misc/dunst-1.0.0/fix_memory_leak_1.patch (limited to 'x11-misc/dunst-1.0.0/fix_memory_leak_1.patch') diff --git a/x11-misc/dunst-1.0.0/fix_memory_leak_1.patch b/x11-misc/dunst-1.0.0/fix_memory_leak_1.patch new file mode 100644 index 0000000..fad57b9 --- /dev/null +++ b/x11-misc/dunst-1.0.0/fix_memory_leak_1.patch @@ -0,0 +1,25 @@ +From 95c67908c1539e26b8d95a9a17d420a6611163a3 Mon Sep 17 00:00:00 2001 +From: Steven Allen +Date: Mon, 12 Aug 2013 18:37:54 -0700 +Subject: [PATCH] Fix memory leak in URL scanning code + +--- + menu.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/menu.c b/menu.c +index cd3f85a..12e1ae2 100644 +--- a/menu.c ++++ b/menu.c +@@ -60,6 +60,8 @@ char *extract_urls(const char *to_match) + + urls = string_append(urls, match, "\n"); + ++ free(match); ++ + p += m.rm_eo; + } + return urls; +-- +1.9.1 + -- cgit v1.2.3-54-g00ecf