fdmemory: freed pointer will always be 0
This commit is contained in:
parent
b45941219e
commit
7fbcefb753
@ -58,7 +58,7 @@ gst_fd_mem_free (GstAllocator * allocator, GstMemory * gmem)
|
|||||||
close (mem->fd);
|
close (mem->fd);
|
||||||
g_mutex_clear (&mem->lock);
|
g_mutex_clear (&mem->lock);
|
||||||
g_slice_free (GstFdMemory, mem);
|
g_slice_free (GstFdMemory, mem);
|
||||||
GST_DEBUG ("%p: freed", mem);
|
GST_DEBUG ("freed GstFdMemory pointer");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user