projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
316efa1
)
Plug a mem leak in the regex test
author
Christian Persch
<chpe@gnome.org>
Thu, 23 Jun 2011 16:35:40 +0000
(18:35 +0200)
committer
Christian Persch
<chpe@gnome.org>
Thu, 23 Jun 2011 23:03:52 +0000
(
01:03
+0200)
glib/tests/regex.c
patch
|
blob
|
history
diff --git
a/glib/tests/regex.c
b/glib/tests/regex.c
index
2befb1a
..
9a8dbc2
100644
(file)
--- 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 {