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
08557e2e
Commit
08557e2e
authored
Dec 23, 2007
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove memory leak
parent
ed646896
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/misc/update.c
src/misc/update.c
+5
-0
No files found.
src/misc/update.c
View file @
08557e2e
...
@@ -922,6 +922,8 @@ void update_CheckReal( update_check_thread_t *p_uct )
...
@@ -922,6 +922,8 @@ void update_CheckReal( update_check_thread_t *p_uct )
if
(
p_uct
->
pf_callback
)
if
(
p_uct
->
pf_callback
)
(
p_uct
->
pf_callback
)(
p_uct
->
p_data
);
(
p_uct
->
pf_callback
)(
p_uct
->
p_data
);
vlc_object_destroy
(
p_uct
);
}
}
/**
/**
...
@@ -1021,6 +1023,7 @@ void update_Download( update_t *p_update, char *psz_destdir )
...
@@ -1021,6 +1023,7 @@ void update_Download( update_t *p_update, char *psz_destdir )
vlc_thread_create
(
p_udt
,
"download update"
,
update_DownloadReal
,
vlc_thread_create
(
p_udt
,
"download update"
,
update_DownloadReal
,
VLC_THREAD_PRIORITY_LOW
,
VLC_FALSE
);
VLC_THREAD_PRIORITY_LOW
,
VLC_FALSE
);
}
}
void
update_DownloadReal
(
update_download_thread_t
*
p_udt
)
void
update_DownloadReal
(
update_download_thread_t
*
p_udt
)
{
{
int
i_progress
=
0
;
int
i_progress
=
0
;
...
@@ -1123,6 +1126,8 @@ error:
...
@@ -1123,6 +1126,8 @@ error:
free
(
psz_destfile
);
free
(
psz_destfile
);
free
(
p_buffer
);
free
(
p_buffer
);
free
(
psz_size
);
free
(
psz_size
);
vlc_object_destroy
(
p_udt
);
}
}
#endif
#endif
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