git-svn: trunk@3743
aCaB authored on 2008/03/25 10:47:42... | ... |
@@ -315,7 +315,7 @@ static int nsis_unpack_next(struct nsis_st *n, cli_ctx *ctx) { |
315 | 315 |
if (gotsome) { |
316 | 316 |
ret = CL_SUCCESS; |
317 | 317 |
} else { |
318 |
- ret CL_EMAXSIZE; |
|
318 |
+ ret = CL_EMAXSIZE; |
|
319 | 319 |
close(n->ofd); |
320 | 320 |
} |
321 | 321 |
free(ibuf); |
... | ... |
@@ -420,7 +420,6 @@ static int nsis_unpack_next(struct nsis_st *n, cli_ctx *ctx) { |
420 | 420 |
gotsome=1; |
421 | 421 |
if (cli_writen(n->ofd, obuf, n->nsis.next_out - obuf) != n->nsis.next_out - obuf) { |
422 | 422 |
cli_dbgmsg("NSIS: cannot write output file"__AT__"\n"); |
423 |
- free(ibuf); |
|
424 | 423 |
close(n->ofd); |
425 | 424 |
return CL_EIO; |
426 | 425 |
} |