aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki2@gmail.com>2014-11-20 00:28:03 +0100
committerLukasz Marek <lukasz.m.luki2@gmail.com>2014-11-26 23:32:33 +0100
commit3cb0bec6870cf0bb7879f7bfd4119ef39a02a464 (patch)
treea70ac3415cdf32de8cd06f9964581ce84a7cc5d6 /ffserver.c
parentec6e035b8b1fcd7a1838ac12c887389a44af4d98 (diff)
downloadffmpeg-3cb0bec6870cf0bb7879f7bfd4119ef39a02a464.tar.gz
ffserver: dont leak child arguments
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 3702fd638a..012056dd48 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3663,7 +3663,7 @@ static void handle_child_exit(int sig)
if (uptime < 30)
/* Turn off any more restarts */
- feed->child_argv = 0;
+ ffserver_free_child_args(&feed->child_argv);
}
}
}