[Xfce4-commits] [apps/orage] 01/02: 4.11.2.11 Coverity fix 31708 possible free of null pointer

noreply at xfce.org noreply at xfce.org
Thu Mar 5 12:48:54 CET 2015


This is an automated email from the git hooks/post-receive script.

juha pushed a commit to branch master
in repository apps/orage.

commit e0e78ab3049ad0a14dcf7dad1e748e2c9c9f1fe8
Author: Juha Kautto <juha at xfce.org>
Date:   Thu Mar 5 13:46:30 2015 +0200

    4.11.2.11 Coverity fix 31708 possible free of null pointer
    
    Free pointer only if it has value
---
 configure.in.in  |    2 +-
 src/event-list.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.in.in b/configure.in.in
index 1ffee8c..6d9bef0 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -9,7 +9,7 @@ dnl Written for Xfce by Juha Kautto <juha at xfce.org>
 dnl
 
 dnl Version information
-m4_define([orage_version], [4.11.2.10-git])
+m4_define([orage_version], [4.11.2.11-git])
 
 m4_define([gtk_minimum_version], [2.14.0])
 m4_define([xfce_minimum_version], [4.8.0])
diff --git a/src/event-list.c b/src/event-list.c
index 8cb551f..7e04e91 100644
--- a/src/event-list.c
+++ b/src/event-list.c
@@ -1069,7 +1069,8 @@ static void drag_data_get(GtkWidget *widget, GdkDragContext *context
         g_warning("drag_data_get failed\n");
     g_list_foreach(list, (GFunc)gtk_tree_path_free, NULL);
     g_list_free(list);
-    g_string_free(result, TRUE);
+    if (result)
+        g_string_free(result, TRUE);
 }
 
 static void build_menu(el_win *el)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list