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
7fc9581c
Commit
7fc9581c
authored
Apr 23, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/subtitles.c: fixed memory leak.
parent
3bda52ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/input/subtitles.c
src/input/subtitles.c
+4
-2
No files found.
src/input/subtitles.c
View file @
7fc9581c
...
...
@@ -194,10 +194,10 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
}
i_max_sub_len
=
0
;
if
(
i_nb_subdirs
>
=
0
)
if
(
i_nb_subdirs
>
0
)
{
char
*
psz_parser
;
subdirs
=
(
char
**
)
malloc
(
sizeof
(
char
*
)
*
i_nb_subdirs
);
i
=
0
;
psz_parser
=
psz_path
;
...
...
@@ -374,6 +374,8 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
}
}
if
(
subdirs
)
free
(
subdirs
);
free
(
f_dir
);
free
(
f_fname
);
free
(
f_fname_noext
);
...
...
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