projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
NULL safety checks
[melted]
/
src
/
framework
/
mlt_tractor.c
diff --git
a/src/framework/mlt_tractor.c
b/src/framework/mlt_tractor.c
index
5f9c5f7
..
9143868
100644
(file)
--- a/
src/framework/mlt_tractor.c
+++ b/
src/framework/mlt_tractor.c
@@
-83,7
+83,7
@@
mlt_service mlt_tractor_service( mlt_tractor this )
mlt_producer mlt_tractor_producer( mlt_tractor this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the properties object associated to the tractor.