Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
327dee53
Commit
327dee53
authored
Jan 20, 2005
by
sigmunau
Browse files
sap.c: fix too early free in demux
parent
16e04b75
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/services_discovery/sap.c
View file @
327dee53
...
...
@@ -427,7 +427,6 @@ static int OpenDemux( vlc_object_t *p_this )
p_demux
->
pf_demux
=
Demux
;
free
(
psz_sdp
);
if
(
p_sdp
)
FreeSDP
(
p_sdp
);
return
VLC_SUCCESS
;
error:
...
...
@@ -591,6 +590,7 @@ static int Demux( demux_t *p_demux )
PLAYLIST_APPEND
,
PLAYLIST_END
);
vlc_object_release
(
p_playlist
);
if
(
p_sdp
)
FreeSDP
(
p_sdp
);
return
VLC_SUCCESS
;
}
...
...
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