Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
cb04ed6b
Commit
cb04ed6b
authored
Mar 01, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a small memleak.
parent
e088c92b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
25 deletions
+11
-25
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+11
-25
No files found.
modules/stream_out/rtp.c
View file @
cb04ed6b
...
...
@@ -643,53 +643,37 @@ static void Close( vlc_object_t * p_this )
}
while
(
p_sys
->
i_rtsp
>
0
)
{
RtspClientDel
(
p_stream
,
p_sys
->
rtsp
[
0
]
);
}
vlc_mutex_destroy
(
&
p_sys
->
lock_sdp
);
if
(
p_sys
->
p_httpd_file
)
{
httpd_FileDelete
(
p_sys
->
p_httpd_file
);
}
if
(
p_sys
->
p_httpd_host
)
{
httpd_HostDelete
(
p_sys
->
p_httpd_host
);
}
if
(
p_sys
->
p_rtsp_url
)
{
httpd_UrlDelete
(
p_sys
->
p_rtsp_url
);
}
if
(
p_sys
->
p_rtsp_host
)
{
httpd_HostDelete
(
p_sys
->
p_rtsp_host
);
}
if
(
p_sys
->
psz_session_name
)
{
free
(
p_sys
->
psz_session_name
);
p_sys
->
psz_session_name
=
NULL
;
}
if
(
p_sys
->
psz_session_description
)
{
free
(
p_sys
->
psz_session_description
);
p_sys
->
psz_session_description
=
NULL
;
}
if
(
p_sys
->
psz_session_url
)
{
free
(
p_sys
->
psz_session_url
);
p_sys
->
psz_session_url
=
NULL
;
}
if
(
p_sys
->
psz_session_email
)
{
free
(
p_sys
->
psz_session_email
);
p_sys
->
psz_session_email
=
NULL
;
}
if
(
p_sys
->
psz_sdp
)
{
free
(
p_sys
->
psz_sdp
);
p_sys
->
psz_sdp
=
NULL
;
}
if
(
p_sys
->
b_export_sdp_file
)
{
#ifdef HAVE_UNISTD_H
...
...
@@ -697,6 +681,8 @@ static void Close( vlc_object_t * p_this )
#endif
free
(
p_sys
->
psz_sdp_file
);
}
if
(
p_sys
->
psz_destination
)
free
(
p_sys
->
psz_destination
);
free
(
p_sys
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment