Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
56299eb4
Commit
56299eb4
authored
Aug 21, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes memory leaks
parent
2c7efa6a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
modules/misc/notify/msn.c
modules/misc/notify/msn.c
+7
-8
No files found.
modules/misc/notify/msn.c
View file @
56299eb4
...
...
@@ -153,14 +153,13 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
}
/* Playing something ... */
psz_artist
=
input_item_GetArtist
(
input_GetItem
(
p_input
)
)
?
strdup
(
input_item_GetArtist
(
input_GetItem
(
p_input
)
)
)
:
strdup
(
""
);
psz_album
=
input_item_GetAlbum
(
input_GetItem
(
p_input
)
)
?
strdup
(
input_item_GetAlbum
(
input_GetItem
(
p_input
)
)
)
:
strdup
(
""
);
psz_title
=
strdup
(
input_GetItem
(
p_input
)
->
psz_name
);
if
(
psz_title
==
NULL
)
psz_title
=
strdup
(
N_
(
"(no title)"
)
);
psz_artist
=
input_item_GetArtist
(
input_GetItem
(
p_input
)
);
psz_album
=
input_item_GetAlbum
(
input_GetItem
(
p_input
)
);
psz_title
=
input_item_GetTitle
(
input_GetItem
(
p_input
)
);
if
(
!
psz_artist
)
psz_artist
=
strdup
(
""
);
if
(
!
psz_album
)
psz_artist
=
strdup
(
""
);
if
(
!
strcmp
(
psz_title
,
NULL
)
)
psz_title
=
strdup
(
N_
(
"(no title)"
)
);
psz_buf
=
str_format_meta
(
p_this
,
p_intf
->
p_sys
->
psz_format
);
...
...
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