summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-18 15:46:05 +0000
committermidipix <writeonce@midipix.org>2018-08-18 22:14:06 -0400
commit89e9e6e2aaa49eccb806bd3a8daac04dd679b895 (patch)
treea251ea304e7c2570c04d50a472f75d3b58ee05b8 /src/driver
parentdc1caf0d2ba8a58caf424bf631254c8e821229ec (diff)
downloadntux-89e9e6e2aaa49eccb806bd3a8daac04dd679b895.tar.bz2
ntux-89e9e6e2aaa49eccb806bd3a8daac04dd679b895.tar.xz
ntux_get_driver_ctx()(): always free the intermediate argv meta context.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ntux_driver_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver/ntux_driver_ctx.c b/src/driver/ntux_driver_ctx.c
index 9443ab5..75362bb 100644
--- a/src/driver/ntux_driver_ctx.c
+++ b/src/driver/ntux_driver_ctx.c
@@ -342,6 +342,8 @@ int ntux_get_driver_ctx(
return -1;
}
+ argv_free(meta);
+
*cmdargv-- = cmdmark;
*cmdargv = argv[0];
argv = cmdargv;