Check the cached message structure for null before trying to create a copy
This commit is contained in:
parent
02e2d6e3fc
commit
e1ea52daaf
@ -86,7 +86,8 @@ public Gst.Structure Structure {
|
|||||||
}
|
}
|
||||||
|
|
||||||
~Message () {
|
~Message () {
|
||||||
cached_structure.CreateNativeCopy ();
|
if (cached_structure != null)
|
||||||
|
cached_structure.CreateNativeCopy ();
|
||||||
cached_structure = null;
|
cached_structure = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user