Oopsie poopsie

This commit is contained in:
Quentin Renard
2025-02-16 15:24:22 +01:00
parent dca9296441
commit 948d39059d

View File

@@ -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