Fix memleak
authorRafaël Carré <funman@videolan.org>
Tue, 20 May 2008 11:48:10 +0000 (13:48 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 20 May 2008 13:16:27 +0000 (15:16 +0200)
modules/stream_out/standard.c

index 15076da..59ae9e3 100644 (file)
@@ -429,6 +429,7 @@ static int Open( vlc_object_t *p_this )
             p_sys->p_session =
                 sout_AnnounceRegisterSDP (p_sout, psz_sdp, dhost, p_method);
             sout_MethodRelease (p_method);
+            free( psz_sdp );
         }
         free (dhost);
     }