summaryrefslogtreecommitdiff
path: root/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch
blob: d48693c2fb38362074df8574d7f197dc8e05e320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 08903f06f5a0de4ddc344481c21f39661dbfa136 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Wed, 13 May 2009 21:11:52 +0300
Subject: [PATCH 33/66] match: don't double free in case of missing table file

---
 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 625f2a8..0014dec 100644
--- a/src/modules/module-match.c
+++ b/src/modules/module-match.c
@@ -90,7 +90,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;
     }
-- 
1.6.3.1