Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
704fd19d
Commit
704fd19d
authored
Dec 29, 2010
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Effects: Don't crash when unloading an invalid effect module.
parent
68d22980
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/EffectsEngine/Effect.cpp
src/EffectsEngine/Effect.cpp
+4
-2
No files found.
src/EffectsEngine/Effect.cpp
View file @
704fd19d
...
...
@@ -30,7 +30,8 @@ Effect::Effect( const QString &fileName ) :
m_type
(
Unknown
),
m_major
(
-
1
),
m_minor
(
-
1
),
m_nbParams
(
-
1
)
m_nbParams
(
-
1
),
m_f0r_deinit
(
NULL
)
{
}
...
...
@@ -38,7 +39,8 @@ Effect::~Effect()
{
if
(
isLoaded
()
==
true
)
{
m_f0r_deinit
();
if
(
m_f0r_deinit
!=
NULL
)
m_f0r_deinit
();
unload
();
}
qDeleteAll
(
m_params
);
...
...
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