mirror of
https://github.com/asticode/go-astiav.git
synced 2025-09-27 04:26:30 +08:00
Oopsie poopsie
This commit is contained in:
@@ -160,7 +160,7 @@ func (ic *IOContext) Free() {
|
|||||||
C.av_freep(unsafe.Pointer(&ic.c.buffer))
|
C.av_freep(unsafe.Pointer(&ic.c.buffer))
|
||||||
}
|
}
|
||||||
if ic.handlerID != nil {
|
if ic.handlerID != nil {
|
||||||
C.free(ic.handlerID)
|
C.av_free(ic.handlerID)
|
||||||
ic.handlerID = nil
|
ic.handlerID = nil
|
||||||
}
|
}
|
||||||
// Make sure to clone the classer before freeing the object since
|
// Make sure to clone the classer before freeing the object since
|
||||||
|
Reference in New Issue
Block a user