Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
a93d03da
Commit
a93d03da
authored
Oct 04, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix double free error.
parent
4285aae3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
modules/access/rtsp/real.c
modules/access/rtsp/real.c
+3
-12
modules/access/rtsp/real_sdpplin.h
modules/access/rtsp/real_sdpplin.h
+1
-1
No files found.
modules/access/rtsp/real.c
View file @
a93d03da
...
@@ -528,22 +528,13 @@ rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidt
...
@@ -528,22 +528,13 @@ rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidt
rmff_fix_header
(
header
);
rmff_fix_header
(
header
);
if
(
desc
)
{
if
(
desc
)
sdpplin_free
(
desc
);
sdpplin_free
(
desc
);
free
(
desc
);
}
if
(
buf
)
free
(
buf
);
if
(
buf
)
free
(
buf
);
return
header
;
return
header
;
error:
error:
if
(
desc
)
{
if
(
desc
)
sdpplin_free
(
desc
);
sdpplin_free
(
desc
);
if
(
header
)
rmff_free_header
(
header
);
free
(
desc
);
}
if
(
header
)
{
rmff_free_header
(
header
);
free
(
header
);
}
if
(
buf
)
free
(
buf
);
if
(
buf
)
free
(
buf
);
return
NULL
;
return
NULL
;
}
}
...
...
modules/access/rtsp/real_sdpplin.h
View file @
a93d03da
...
@@ -92,7 +92,7 @@ typedef struct {
...
@@ -92,7 +92,7 @@ typedef struct {
int
duration
;
int
duration
;
sdpplin_stream_t
**
stream
;
sdpplin_stream_t
**
stream
;
}
sdpplin_t
;
}
sdpplin_t
;
sdpplin_t
*
sdpplin_parse
(
char
*
data
);
sdpplin_t
*
sdpplin_parse
(
char
*
data
);
...
...
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