[libgsf] gsf-vba-dump: fix error reporting.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] gsf-vba-dump: fix error reporting.
- Date: Mon, 4 Feb 2019 17:39:09 +0000 (UTC)
commit c955a7fe563517777ad27560ca587d321e87cb75
Author: Morten Welinder <terra gnome org>
Date: Mon Feb 4 12:38:37 2019 -0500
gsf-vba-dump: fix error reporting.
ChangeLog | 4 ++++
NEWS | 1 +
tools/gsf-vba-dump.c | 1 +
3 files changed, 6 insertions(+)
---
diff --git a/ChangeLog b/ChangeLog
index c4125b7..e318afa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-04 Morten Welinder <terra gnome org>
+
+ * tools/gsf-vba-dump.c (test): Fix problem with error reporting.
+
2018-12-18 Morten Welinder <terra gnome org>
* configure.ac: Post-release bump.
diff --git a/NEWS b/NEWS
index ef2d1ea..8ce15fe 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ Javier Jard
Morten:
* Warning fixes.
+ * Fix gsf-vba-dump crash. [#15]
--------------------------------------------------------------------------
libgsf 1.14.45
diff --git a/tools/gsf-vba-dump.c b/tools/gsf-vba-dump.c
index db473c9..1f74f97 100644
--- a/tools/gsf-vba-dump.c
+++ b/tools/gsf-vba-dump.c
@@ -63,6 +63,7 @@ test (int argc, char *argv[])
if (err != NULL) {
g_warning ("'%s' error: %s", argv[i], err->message);
g_error_free (err);
+ err = NULL;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]