diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2014-04-10 14:32:25 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2014-04-10 14:33:00 +0200 |
commit | a68c5f88f71682d37924bf2794a163b0b8137e08 (patch) | |
tree | 3180ecbb099fbdc27b3f8cfdedcccbb08137550e /x11-misc/dunst-1.0.0/fix_memory_leak_2.patch | |
parent | 527c8a44ac792be5a80e704a5616775bb1bf1f99 (diff) | |
download | patches-a68c5f88f71682d37924bf2794a163b0b8137e08.tar.gz patches-a68c5f88f71682d37924bf2794a163b0b8137e08.tar.bz2 patches-a68c5f88f71682d37924bf2794a163b0b8137e08.zip |
More dunst patches
Diffstat (limited to '')
-rw-r--r-- | x11-misc/dunst-1.0.0/fix_memory_leak_2.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-misc/dunst-1.0.0/fix_memory_leak_2.patch b/x11-misc/dunst-1.0.0/fix_memory_leak_2.patch new file mode 100644 index 0000000..3b7983c --- /dev/null +++ b/x11-misc/dunst-1.0.0/fix_memory_leak_2.patch @@ -0,0 +1,25 @@ +From 9e03b5258fb2e8afe95f3bf32e911dbedb63e765 Mon Sep 17 00:00:00 2001 +From: Giuliano Schneider <gs93@gmx.net> +Date: Wed, 5 Mar 2014 13:31:01 +0100 +Subject: [PATCH] fix memory leak in string_to_argv + +--- + utils.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/utils.c b/utils.c +index d0bbe75..1f0cce2 100644 +--- a/utils.c ++++ b/utils.c +@@ -83,6 +83,8 @@ char **string_to_argv(const char *s) + argv = realloc (argv, sizeof (char*) * (n_spaces+1)); + argv[n_spaces] = NULL; + ++ free(str); ++ + return argv; + } + +-- +1.9.1 + |