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
b3a1444d
Commit
b3a1444d
authored
Mar 20, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pda: fix object leaks.
parent
b5619a2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/gui/pda/pda_callbacks.c
modules/gui/pda/pda_callbacks.c
+3
-0
No files found.
modules/gui/pda/pda_callbacks.c
View file @
b3a1444d
...
@@ -780,11 +780,13 @@ void onPlaylistRow(GtkTreeView *treeview, GtkTreePath *path,
...
@@ -780,11 +780,13 @@ void onPlaylistRow(GtkTreeView *treeview, GtkTreePath *path,
if
(
!
p_model
)
if
(
!
p_model
)
{
{
msg_Err
(
p_intf
,
"PDA: Playlist model contains a NULL pointer"
);
msg_Err
(
p_intf
,
"PDA: Playlist model contains a NULL pointer"
);
pl_Release
(
p_intf
);
return
;
return
;
}
}
if
(
!
gtk_tree_model_get_iter
(
p_model
,
&
iter
,
path
))
if
(
!
gtk_tree_model_get_iter
(
p_model
,
&
iter
,
path
))
{
{
msg_Err
(
p_intf
,
"PDA: Playlist could not get iter from model"
);
msg_Err
(
p_intf
,
"PDA: Playlist could not get iter from model"
);
pl_Release
(
p_intf
);
return
;
return
;
}
}
...
@@ -1027,6 +1029,7 @@ void onAddTranscodeToPlaylist(GtkButton *button, gpointer user_data)
...
@@ -1027,6 +1029,7 @@ void onAddTranscodeToPlaylist(GtkButton *button, gpointer user_data)
/* Update the playlist */
/* Update the playlist */
playlist_t
*
p_playlist
=
pl_Hold
(
p_intf
);
playlist_t
*
p_playlist
=
pl_Hold
(
p_intf
);
if
(
p_playlist
==
NULL
)
return
;
if
(
p_playlist
==
NULL
)
return
;
pl_Release
(
p_intf
);
/* Get all the options. */
/* Get all the options. */
i_pos
=
snprintf
(
&
mrl
[
0
],
VLC_MAX_MRL
,
"sout"
);
i_pos
=
snprintf
(
&
mrl
[
0
],
VLC_MAX_MRL
,
"sout"
);
...
...
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