projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93fb73b
)
client: fix reference counting
author
David Schleef
<ds@schleef.org>
Mon, 27 Jun 2011 18:26:26 +0000
(11:26 -0700)
committer
David Schleef
<ds@schleef.org>
Wed, 27 Jul 2011 22:02:08 +0000
(15:02 -0700)
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index
44a5c02
..
6a5bc76
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-337,6
+337,8
@@
find_media (GstRTSPClient * client, GstRTSPClientState * state)
goto no_media;
g_object_unref (factory);
+ factory = NULL;
+ state->factory = NULL;
/* set ipv6 on the media before preparing */
media->is_ipv6 = client->is_ipv6;
@@
-389,7
+391,6
@@
no_prepare:
{
send_generic_response (client, GST_RTSP_STS_SERVICE_UNAVAILABLE, state);
g_object_unref (media);
- g_object_unref (factory);
return NULL;
}
}