Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6bf3d8c3
Commit
6bf3d8c3
authored
Sep 22, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/misc/rtsp.c: fixed segfault.
parent
4a18d7be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/misc/rtsp.c
modules/misc/rtsp.c
+4
-5
No files found.
modules/misc/rtsp.c
View file @
6bf3d8c3
...
...
@@ -559,15 +559,14 @@ static rtsp_client_t *RtspClientGet( vod_media_t *p_media, char *psz_session )
static
void
RtspClientDel
(
vod_media_t
*
p_media
,
rtsp_client_t
*
p_rtsp
)
{
int
i
;
msg_Dbg
(
p_media
->
p_vod
,
"closing session: %s"
,
p_rtsp
->
psz_session
);
while
(
p_rtsp
->
i_es
--
)
{
rtsp_client_es_t
*
p_es
=
p_rtsp
->
es
[
p_rtsp
->
i_es
];
TAB_REMOVE
(
p_rtsp
->
i_es
,
p_rtsp
->
es
,
p_es
);
if
(
p_es
[
i
].
psz_ip
)
free
(
p_es
[
i
].
psz_ip
);
if
(
p_rtsp
->
es
[
p_rtsp
->
i_es
]
->
psz_ip
)
free
(
p_rtsp
->
es
[
p_rtsp
->
i_es
]
->
psz_ip
);
free
(
p_rtsp
->
es
[
p_rtsp
->
i_es
]
);
if
(
!
p_rtsp
->
i_es
)
free
(
p_rtsp
->
es
);
}
TAB_REMOVE
(
p_media
->
i_rtsp
,
p_media
->
rtsp
,
p_rtsp
);
...
...
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