mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-06 12:46:37 +02:00
don't free stack-allocated arrays in ffi generated code
This commit is contained in:
parent
ea8a3df083
commit
69646a0c94
1 changed files with 1 additions and 1 deletions
|
@ -1130,7 +1130,7 @@
|
|||
(cat " }\n"))))
|
||||
|
||||
(define (write-free type)
|
||||
(if (type-array type)
|
||||
(if (and (type-array type) (not (number? (type-array type))))
|
||||
(cat " free(tmp" (type-index-string type) ");\n")))
|
||||
|
||||
(define (write-cleanup func)
|
||||
|
|
Loading…
Add table
Reference in a new issue