projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
NULL safety checks
[melted]
/
src
/
framework
/
mlt_playlist.c
diff --git
a/src/framework/mlt_playlist.c
b/src/framework/mlt_playlist.c
index
2b14358
..
440c924
100644
(file)
--- a/
src/framework/mlt_playlist.c
+++ b/
src/framework/mlt_playlist.c
@@
-98,7
+98,7
@@
mlt_playlist mlt_playlist_init( )
mlt_producer mlt_playlist_producer( mlt_playlist this )
{
- return &this->parent;
+ return this != NULL ? &this->parent : NULL;
}
/** Get the service associated to this playlist.