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
99a2b5b7
Commit
99a2b5b7
authored
Jul 24, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to set p_sys to NULL when the module is closed.
parent
46934474
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
modules/video_output/directfb.c
modules/video_output/directfb.c
+1
-2
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+0
-1
No files found.
modules/video_output/directfb.c
View file @
99a2b5b7
...
@@ -78,7 +78,7 @@ vlc_module_end ()
...
@@ -78,7 +78,7 @@ vlc_module_end ()
static
int
Create
(
vlc_object_t
*
p_this
)
static
int
Create
(
vlc_object_t
*
p_this
)
{
{
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
vout_sys_t
*
p_sys
=
NULL
;
vout_sys_t
*
p_sys
;
p_vout
->
pf_init
=
Init
;
p_vout
->
pf_init
=
Init
;
p_vout
->
pf_end
=
End
;
p_vout
->
pf_end
=
End
;
p_vout
->
pf_manage
=
Manage
;
p_vout
->
pf_manage
=
Manage
;
...
@@ -263,7 +263,6 @@ static void Destroy( vlc_object_t *p_this )
...
@@ -263,7 +263,6 @@ static void Destroy( vlc_object_t *p_this )
CloseDisplay
(
p_vout
);
CloseDisplay
(
p_vout
);
free
(
p_sys
);
free
(
p_sys
);
p_sys
=
NULL
;
}
}
static
int
Manage
(
vout_thread_t
*
p_vout
)
static
int
Manage
(
vout_thread_t
*
p_vout
)
...
...
modules/video_output/msw/directx.c
View file @
99a2b5b7
...
@@ -438,7 +438,6 @@ static void CloseVideo( vlc_object_t *p_this )
...
@@ -438,7 +438,6 @@ static void CloseVideo( vlc_object_t *p_this )
RestoreScreensaver
(
p_vout
);
RestoreScreensaver
(
p_vout
);
free
(
p_vout
->
p_sys
);
free
(
p_vout
->
p_sys
);
p_vout
->
p_sys
=
NULL
;
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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