diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2011-04-20 14:49:18 +0300 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-04-23 18:23:37 +0100 |
commit | 9b58b7d6c200a58299f400f67f48f20098b392bb (patch) | |
tree | f2970e53f77fc4e471089ad9c0678dc5fb534a24 /src/modules | |
parent | ff273b49d7200c4ed20a533816fe534430bfa0a4 (diff) |
match: Don't double free in case of missing table file
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-match.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |