File: 0020-test_file_list_fix_leak.patch

package info (click to toggle)
syslog-ng 3.19.1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,176 kB
  • sloc: ansic: 114,472; makefile: 4,697; sh: 4,391; python: 4,282; java: 4,047; xml: 2,435; yacc: 1,108; lex: 426; perl: 193; awk: 184
file content (22 lines) | stat: -rw-r--r-- 674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From c70ae1a33543a9d9b61dcdf5446832e4d525db53 Mon Sep 17 00:00:00 2001
From: Kokan <kokaipeter@gmail.com>
Date: Thu, 21 Feb 2019 12:39:46 +0100
Subject: [PATCH] test_file_list: fix leak

Signed-off-by: Kokan <kokaipeter@gmail.com>
---
 modules/affile/tests/test_file_list.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/affile/tests/test_file_list.c b/modules/affile/tests/test_file_list.c
index d98fe21b33..474958247c 100644
--- a/modules/affile/tests/test_file_list.c
+++ b/modules/affile/tests/test_file_list.c
@@ -122,6 +122,7 @@ Test(hashed_queue, delete_non_existent)
 
   g_free(f1);
   g_free(f2);
+  g_free(f3);
   pending_file_list_free(queue);
 }