From 579590a3953b7c7d669b5d95839174a98a9d2b07 Mon Sep 17 00:00:00 2001 From: rainwater Date: Thu, 2 Jan 2003 17:14:01 +0000 Subject: [PATCH] nsExec didn't free allocated memory git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2022 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsExec/nsexec.c | 1 + Plugins/nsExec.dll | Bin 5120 -> 5120 bytes 2 files changed, 1 insertion(+) diff --git a/Contrib/nsExec/nsexec.c b/Contrib/nsExec/nsexec.c index d64edb7a..1fd32ab1 100644 --- a/Contrib/nsExec/nsexec.c +++ b/Contrib/nsExec/nsexec.c @@ -198,6 +198,7 @@ done: CloseHandle(pi.hProcess); CloseHandle(newstdout); CloseHandle(read_stdout); + GlobalFree(g_exec); if (log) { GlobalUnlock(hUnusedBuf); GlobalFree(hUnusedBuf); diff --git a/Plugins/nsExec.dll b/Plugins/nsExec.dll index 9e90a6568558ae5880eb0a80f67548e4757c8f55..101f64b430fbccf2881454d65431902337c8d193 100644 GIT binary patch delta 291 zcmZqBXwaDOfVsL@Wa8tQj3*`+GMP-?$f(ZveezAlaz>%eflSMptQc7s7+McRmYQWq z7%&L@Hw`gi5P0zjC>RM8Em2qq;x`}Q40vI~%D@1TUK{~Zb7Hd*Yax@O4-*4J_lHR9 z&ygiH;T>`>>KGXqdh3{uv#5vw%?p2_Gx-SnW>Hh1Xyi9n4#pC`Zr48+5+&>bFP2U2 z;m~3HGI=M5oC?I?Zqoz>pc}4P#&VSK{V)CTUsMIe2Qse3$3;*6$YC`(kF$ERHmBR> zH=JBdn|M^1LB89p&VQE)=s#AW=~_2U?wh4?>Sh{cnrd2P+Go1dbd%{W W)8nRRP4AjMGJS3O%XD)g(DMKia%VpP delta 282 zcmZqBXwaDOfO(5H_r%9D8IMdZWHOn&kx`xT?c|$`<%|NG1DTdHS$$__U}!xMS!$Lc zVZb2p-!#O8LEyy=76yh$plFH0LJ+_C0B67pBUT0mi1gwJkeYp)jaUnr6rGqD7`i`1 zT7Ql#sR{3pd$FC7fuXmK={Spu2++Ln7fO?lux}RKzyLJxn=1!n317GC9}9^R_J9}n zC--pZFy>F*$ss3Y8OsqL7hNLszx2m{Q56NCLqLoKAY<}x4y(xzlP@N`royIjrn;u4rcS0FrV*yGrfH`2rjt$Q TnXWcHZhFu3gX!i%CL2Zox^G~g