[Xfce4-commits] [apps/parole] 01/01: Apply patch by Simon Marchi, Fix off by one error in allocation, Fixes bug 10962
noreply at xfce.org
noreply at xfce.org
Tue Jun 24 12:55:56 CEST 2014
This is an automated email from the git hooks/post-receive script.
bluesabre pushed a commit to branch master
in repository apps/parole.
commit c66ec36146614a219ea8916eb8df0a88453b56b0
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Tue Jun 24 06:55:46 2014 -0400
Apply patch by Simon Marchi, Fix off by one error in allocation, Fixes bug 10962
---
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index f0ba015..ba19329 100644
--- a/src/main.c
+++ b/src/main.c
@@ -137,7 +137,7 @@ parole_send_files (gchar **filenames, gboolean enqueue)
if ( !proxy )
g_error ("Unable to create proxy for %s", PAROLE_DBUS_NAME);
- out_paths = g_new0 (gchar *, g_strv_length (filenames));
+ out_paths = g_new0 (gchar *, g_strv_length (filenames) + 1);
for ( i = 0; filenames && filenames[i]; i++)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list