[Xfce4-commits] [apps/orage] 01/01: 4.11.2.8 Coverity fix 31715-31717 leak of memory
noreply at xfce.org
noreply at xfce.org
Thu Mar 5 11:40:24 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 e0b27a6b692664e863d5275b8ad59ee26be1bf7a
Author: Juha Kautto <juha at xfce.org>
Date: Thu Mar 5 12:38:50 2015 +0200
4.11.2.8 Coverity fix 31715-31717 leak of memory
Freed the empty string before using it.
---
configure.in.in | 2 +-
tz_convert/tz_convert.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/configure.in.in b/configure.in.in
index d7b17cb..562c3b8 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.8-git])
+m4_define([orage_version], [4.11.2.9-git])
m4_define([gtk_minimum_version], [2.14.0])
m4_define([xfce_minimum_version], [4.8.0])
diff --git a/tz_convert/tz_convert.c b/tz_convert/tz_convert.c
index aaca556..c92ffc4 100644
--- a/tz_convert/tz_convert.c
+++ b/tz_convert/tz_convert.c
@@ -1265,9 +1265,13 @@ int get_parameters_popt(int argc, const char **argv)
res = val;
break;
case 3:
+ if (in_file)
+ free(in_file);
in_file = strdup(tmp_str);
break;
case 4:
+ if (out_file)
+ free(out_file);
out_file = strdup(tmp_str);
break;
case 5:
@@ -1278,6 +1282,8 @@ int get_parameters_popt(int argc, const char **argv)
, ignore_older);
break;
case 7:
+ if (timezone_name)
+ free(timezone_name);
timezone_name = strdup(tmp_str);
break;
case 8:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list