Browse code

nsis typoes

git-svn: trunk@3743

aCaB authored on 2008/03/25 10:47:42
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Mar 25 01:55:19 CET 2008 (acab)
2
+-----------------------------------
3
+  * libclamav/nsis: typoes - bb#894
4
+
1 5
 Mon Mar 24 21:22:16 EET 2008 (edwin)
2 6
 -----------------------------------
3 7
   * libclamav/str.c: cli_warnmsg -> cli_dbgmsg (bb #892)
... ...
@@ -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
       }