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
03415034
Commit
03415034
authored
Oct 08, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to test for NULL before a free.
parent
ffde9d55
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
9 deletions
+5
-9
modules/codec/kate.c
modules/codec/kate.c
+1
-2
modules/misc/quartztext.c
modules/misc/quartztext.c
+1
-1
modules/stream_filter/rar.c
modules/stream_filter/rar.c
+1
-2
modules/stream_out/smem.c
modules/stream_out/smem.c
+1
-2
src/input/decoder.c
src/input/decoder.c
+1
-2
No files found.
modules/codec/kate.c
View file @
03415034
...
...
@@ -1482,8 +1482,7 @@ static void DecSysRelease( decoder_sys_t *p_sys )
#ifdef HAVE_TIGER
if
(
p_sys
->
p_tr
)
tiger_renderer_destroy
(
p_sys
->
p_tr
);
if
(
p_sys
->
psz_tiger_default_font_desc
)
free
(
p_sys
->
psz_tiger_default_font_desc
);
free
(
p_sys
->
psz_tiger_default_font_desc
);
#endif
if
(
p_sys
->
b_ready
)
...
...
modules/misc/quartztext.c
View file @
03415034
...
...
@@ -506,7 +506,7 @@ static int HandleFontAttributes( xml_reader_t *p_xml_reader,
{
if
(
!
strcasecmp
(
"face"
,
psz_name
)
)
{
if
(
psz_fontname
)
free
(
psz_fontname
);
free
(
psz_fontname
);
psz_fontname
=
strdup
(
psz_value
);
}
else
if
(
!
strcasecmp
(
"size"
,
psz_name
)
)
...
...
modules/stream_filter/rar.c
View file @
03415034
...
...
@@ -238,8 +238,7 @@ static int Peek( stream_t *s, const uint8_t **pp_peek, unsigned int i_peek )
return
i_read
;
}
if
(
p_sys
->
p_peek_alloc
)
free
(
p_sys
->
p_peek_alloc
);
free
(
p_sys
->
p_peek_alloc
);
p_sys
->
p_peek_alloc
=
p_sys
->
p_peek
=
p_peek
;
...
...
modules/stream_out/smem.c
View file @
03415034
...
...
@@ -317,8 +317,7 @@ static sout_stream_id_t *AddAudio( sout_stream_t *p_stream, es_format_t *p_fmt )
static
int
Del
(
sout_stream_t
*
p_stream
,
sout_stream_id_t
*
id
)
{
VLC_UNUSED
(
p_stream
);
if
(
id
!=
NULL
)
free
(
id
);
free
(
id
);
return
VLC_SUCCESS
;
}
...
...
src/input/decoder.c
View file @
03415034
...
...
@@ -1730,8 +1730,7 @@ static void DecoderProcessSout( decoder_t *p_dec, block_t *p_block )
p_owner
->
sout
.
i_id
=
p_dec
->
fmt_in
.
i_id
;
if
(
p_dec
->
fmt_in
.
psz_language
)
{
if
(
p_owner
->
sout
.
psz_language
)
free
(
p_owner
->
sout
.
psz_language
);
free
(
p_owner
->
sout
.
psz_language
);
p_owner
->
sout
.
psz_language
=
strdup
(
p_dec
->
fmt_in
.
psz_language
);
}
...
...
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