[gnumeric] Number match: plug leak.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Number match: plug leak.
- Date: Wed, 9 Apr 2014 20:09:16 +0000 (UTC)
commit 220e9c529af1c982a766222062e28e3f47b21067
Author: Morten Welinder <terra gnome org>
Date: Wed Apr 9 16:08:43 2014 -0400
Number match: plug leak.
ChangeLog | 5 +++++
src/number-match.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 44f6ae6..d309e49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-09 Morten Welinder <terra gnome org>
+
+ * src/number-match.c (format_match_datetime): Plug leak on certain
+ failure cases.
+
2014-04-02 Morten Welinder <terra gnome org>
* src/sf-gamma.c (pochhammer): Plain floor is good enough for
diff --git a/src/number-match.c b/src/number-match.c
index f3e9f37..2051078 100644
--- a/src/number-match.c
+++ b/src/number-match.c
@@ -797,6 +797,7 @@ format_match_datetime (char const *text,
}
}
+ g_free (date_format);
return NULL;
got_date:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]