projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff273b4
)
match: Don't double free in case of missing table file
author
Marc-André Lureau
<marcandre.lureau@gmail.com>
Wed, 20 Apr 2011 11:49:18 +0000
(14:49 +0300)
committer
Colin Guthrie
<colin@mageia.org>
Sat, 23 Apr 2011 17:23:37 +0000
(18:23 +0100)
src/modules/module-match.c
patch
|
blob
|
history
diff --git
a/src/modules/module-match.c
b/src/modules/module-match.c
index
c8f2706
..
3eba149
100644
(file)
--- 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;
}