]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
close fd on fsv_record
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Jul 2012 19:01:19 +0000 (14:01 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Jul 2012 19:03:19 +0000 (14:03 -0500)
src/mod/applications/mod_fsv/mod_fsv.c

index 1c093651752033d08f2c67edbbdfbae332b24342..5c52a352dfc479bd803ee8e7de1382ea389d9db5 100644 (file)
@@ -273,6 +273,11 @@ SWITCH_STANDARD_APP(record_fsv_function)
                }
        }
 
+       if (fd > -1) {
+               close(fd);
+       }
+
+
        switch_core_session_set_read_codec(session, NULL);
        switch_core_codec_destroy(&codec);