mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 14:32:31 +00:00
fdmemory: freed pointer will always be 0
This commit is contained in:
parent
b45941219e
commit
7fbcefb753
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue