projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
NULL safety checks
[melted]
/
src
/
framework
/
mlt_filter.c
diff --git
a/src/framework/mlt_filter.c
b/src/framework/mlt_filter.c
index
5aefd13
..
f140df5
100644
(file)
--- a/
src/framework/mlt_filter.c
+++ b/
src/framework/mlt_filter.c
@@
-70,7
+70,7
@@
mlt_filter mlt_filter_new( )
mlt_service mlt_filter_service( mlt_filter this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the properties associated to this filter.