aboutsummaryrefslogtreecommitdiff
path: root/libwmc/src/errors.c
diff options
context:
space:
mode:
authorNathan Williams <njw@chromium.org>2011-09-27 13:40:39 -0500
committerDan Williams <dcbw@redhat.com>2011-09-27 13:40:39 -0500
commit8710820156f51d1861b329e6fc12e706304ddda9 (patch)
tree21fd334c5023fc0aa15a4023b5b10177a6e51ba4 /libwmc/src/errors.c
parent00670456ffb4b08af3620a95c73601bc15d84eb9 (diff)
core: ensure that GMatchInfo and GRegex objects are freed properly
In particular, g_regex_match() and g_regex_match_full() allocate a match_info structure on both success and failure, so calling g_match_info_free() only in the success case is insufficient. BUG=None TEST=Inspection Change-Id: Iea76b5b5dc3ec48120e15601a5e2dd45322133d8
Diffstat (limited to 'libwmc/src/errors.c')
0 files changed, 0 insertions, 0 deletions