[glib] Plug a mem leak in the regex test
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Plug a mem leak in the regex test
- Date: Thu, 23 Jun 2011 23:04:29 +0000 (UTC)
commit b1b8c95d3539d111632e5de88cadb0b547179a59
Author: Christian Persch <chpe gnome org>
Date: Thu Jun 23 18:35:40 2011 +0200
Plug a mem leak in the regex test
glib/tests/regex.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/tests/regex.c b/glib/tests/regex.c
index 2befb1a..9a8dbc2 100644
--- a/glib/tests/regex.c
+++ b/glib/tests/regex.c
@@ -393,6 +393,7 @@ test_match_next (gconstpointer d)
data->expected = g_slist_append (data->expected, match); \
path = g_strdup_printf ("/regex/match/next4/%d", ++total); \
g_test_add_data_func (path, data, test_match_next); \
+ g_free (path); \
}
typedef struct {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]