diff options
author | bptato <nincsnevem662@gmail.com> | 2024-10-04 17:01:51 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-10-04 17:06:01 +0200 |
commit | f95e720e4a621d47c16a0c77d996e4878ad0a8b3 (patch) | |
tree | 7c6254a6bf2d6c05029ba2ac7fac42eb6ba2e2f2 /adapter/img/sixel.nim | |
parent | 62586dc23790732e66add5b27d4d37f1a56b41e0 (diff) | |
download | chawan-f95e720e4a621d47c16a0c77d996e4878ad0a8b3.tar.gz |
dynstream: fix memory leak
now I know why overloading dealloc felt wrong
Diffstat (limited to 'adapter/img/sixel.nim')
-rw-r--r-- | adapter/img/sixel.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/img/sixel.nim b/adapter/img/sixel.nim index 15a7166e..7eb7be13 100644 --- a/adapter/img/sixel.nim +++ b/adapter/img/sixel.nim @@ -553,6 +553,6 @@ proc main() = let p = cast[ptr UncheckedArray[RGBAColorBE]](src.p) os.encode(p.toOpenArray(0, n - 1), width, height, offx, offy, cropw, palette, halfdump) - dealloc(src) + deallocMem(src) main() |