Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
348c8741
Commit
348c8741
authored
Jan 15, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix free of the directory listing of the subtitle scan.
parent
56ccebfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/input/subtitles.c
src/input/subtitles.c
+3
-4
No files found.
src/input/subtitles.c
View file @
348c8741
...
@@ -411,11 +411,10 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
...
@@ -411,11 +411,10 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
}
}
if
(
i_sub_count
>=
MAX_SUBTITLE_FILES
)
break
;
if
(
i_sub_count
>=
MAX_SUBTITLE_FILES
)
break
;
free
(
p_fixed_name
);
free
(
p_fixed_name
);
for
(
a
=
0
;
a
<
i_dir_content
;
a
++
)
if
(
pp_dir_content
[
a
]
)
free
(
pp_dir_content
[
a
]
);
if
(
pp_dir_content
)
free
(
pp_dir_content
);
}
}
for
(
a
=
0
;
a
<
i_dir_content
;
a
++
)
if
(
pp_dir_content
[
a
]
)
free
(
pp_dir_content
[
a
]
);
if
(
pp_dir_content
)
free
(
pp_dir_content
);
}
}
if
(
j
>=
0
)
free
(
*
subdirs
++
);
if
(
j
>=
0
)
free
(
*
subdirs
++
);
}
}
...
...
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