changeset 2263:f13dad8ba721 libavformat

.memleak fix by Ronald Bultje. OK'd by Luca.
author alex
date Mon, 16 Jul 2007 10:56:40 +0000
parents 794b39712016
children e48ed322f893
files rtsp.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Sun Jul 15 18:24:39 2007 +0000
+++ b/rtsp.c	Mon Jul 16 10:56:40 2007 +0000
@@ -814,6 +814,8 @@
     }
     if (content_ptr)
         *content_ptr = content;
+    else
+        av_free(content);
 }