projects
/
platform
/
upstream
/
gst-rtsp-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1b4c12
)
modify if condition of 'GST_GET_PARAMETER' and 'GST_SET_PARAMETER' for g_free(url)
27/69027/2
author
Hyunsoo, Park
<hance.park@samsung.com>
Wed, 11 May 2016 07:20:25 +0000
(16:20 +0900)
committer
Hyunsoo, Park
<hance.park@samsung.com>
Thu, 12 May 2016 04:26:31 +0000
(13:26 +0900)
Change-Id: If3ddfadd79273c3941f8fc57f3f4a2c82a5f8824
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
gst/rtsp-server/rtsp-client-wfd.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client-wfd.c
b/gst/rtsp-server/rtsp-client-wfd.c
index
89e4704
..
f6c9f93
100644
(file)
--- a/
gst/rtsp-server/rtsp-client-wfd.c
+++ b/
gst/rtsp-server/rtsp-client-wfd.c
@@
-1775,9
+1775,11
@@
gst_prepare_request (GstRTSPWFDClient * client, GstRTSPMessage * request,
/* initialize the request */
res = gst_rtsp_message_init_request (request, method, url);
- if (method == GST_RTSP_GET_PARAMETER || GST_RTSP_SET_PARAMETER) {
+
+ if (method == GST_RTSP_GET_PARAMETER || method == GST_RTSP_SET_PARAMETER) {
g_free(url);
}
+
if (res < 0) {
GST_ERROR ("init request failed");
return res;