From 9b58b7d6c200a58299f400f67f48f20098b392bb Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Wed, 20 Apr 2011 14:49:18 +0300 Subject: match: Don't double free in case of missing table file --- src/modules/module-match.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/module-match.c b/src/modules/module-match.c index c8f27062..3eba1493 100644 --- a/src/modules/module-match.c +++ b/src/modules/module-match.c @@ -95,7 +95,6 @@ static int load_rules(struct userdata *u, const char *filename) { f = pa_open_config_file(DEFAULT_MATCH_TABLE_FILE, DEFAULT_MATCH_TABLE_FILE_USER, NULL, &fn); if (!f) { - pa_xfree(fn); pa_log("Failed to open file config file: %s", pa_cstrerror(errno)); goto finish; } -- cgit