[Xfce4-commits] [apps/parole] 01/02: Revert "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 13:25:22 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 8ade8c0377c9b44f62d6278ceecffcb20ce77174
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Tue Jun 24 07:23:01 2014 -0400

    Revert "Apply patch by Simon Marchi, Fix off by one error in allocation, Fixes bug 10962"
    
    This reverts commit c66ec36146614a219ea8916eb8df0a88453b56b0.
---
 src/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index ba19329..f0ba015 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) + 1);
+    out_paths = g_new0 (gchar *, g_strv_length (filenames));
 
     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