Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
0c33ffc1
Commit
0c33ffc1
authored
Mar 28, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
growl: fix pontential use after free (var_delcallbacl called to late).
parent
252c9d11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/misc/notify/growl.m
modules/misc/notify/growl.m
+2
-2
No files found.
modules/misc/notify/growl.m
View file @
0c33ffc1
...
@@ -134,13 +134,13 @@ static void Close( vlc_object_t *p_this )
...
@@ -134,13 +134,13 @@ static void Close( vlc_object_t *p_this )
{
{
intf_sys_t *p_sys = ((intf_thread_t*)p_this)->p_sys;
intf_sys_t *p_sys = ((intf_thread_t*)p_this)->p_sys;
var_DelCallback( pl_Get( p_this ), "item-current", ItemChange, p_this );
CFRelease( p_sys->default_icon );
CFRelease( p_sys->default_icon );
CFRelease( p_sys->app_name );
CFRelease( p_sys->app_name );
CFRelease( p_sys->notification_type );
CFRelease( p_sys->notification_type );
[p_sys->p_pool release];
[p_sys->p_pool release];
free( p_sys );
free( p_sys );
var_DelCallback( pl_Get( p_this ), "item-current", ItemChange, p_this );
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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