diff options
Diffstat (limited to 'lib/pure/osproc.nim')
-rwxr-xr-x | lib/pure/osproc.nim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 7ee43c565..2ed435b07 100755 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -487,13 +487,6 @@ elif not defined(useNimRtl): result[i] = cast[cstring](alloc(x.len+1)) copyMem(result[i], addr(x[0]), x.len+1) inc(i) - - proc deallocCStringArray(a: cstringArray) = - var i = 0 - while a[i] != nil: - dealloc(a[i]) - inc(i) - dealloc(a) proc startProcess(command: string, workingDir: string = "", |