]> git.sesse.net Git - vlc/commitdiff
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 15076dad887a5ed2697abfaf799fc5514b7a1447..59ae9e3e7eab157dee0884ef7977538c3df829a5 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);
     }