aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-02-23 14:54:50 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-02-23 14:54:50 +0100
commit7d62ac342b499e3a2d5fd6abccd5f501ffe43b2b (patch)
treef867ab3b2f7d27b44ba64f46e79af3e7da008f2d
parent0274f3956c322b8e4cc093aad73e67c32d58b590 (diff)
dvbv5-zap: fix a cut-and paste error
Clearly, the free() call should be for args.server ;-) Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--utils/dvb/dvbv5-zap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c
index ff91fbb6..8e752297 100644
--- a/utils/dvb/dvbv5-zap.c
+++ b/utils/dvb/dvbv5-zap.c
@@ -1418,7 +1418,7 @@ err:
if (args.search)
free(args.search);
if (args.server)
- free(args.search);
+ free(args.server);
if (args.dvr_pipe != default_dvr_pipe)
free(args.dvr_pipe);

Privacy Policy