Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2008 16:13:13 GMT
From:      Anselm Strauss <strauss@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 146917 for review
Message-ID:  <200808081613.m78GDDEJ085590@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=146917

Change 146917 by strauss@strauss_marvelman on 2008/08/08 16:12:43

	Only in comment: freed int instead of pointer (was for testing)

Affected files ...

.. //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write_set_format_zip.c#26 edit

Differences ...

==== //depot/projects/soc2008/strauss_libarchive/libarchive/archive_write_set_format_zip.c#26 (text+ko) ====

@@ -392,8 +392,8 @@
 	dos_time += (time->tm_min & 0x3f) << 5;
 	dos_time += (time->tm_sec & 0x3e) >> 1; /* Only counting every 2 seconds -> [0..30], right? */
 	
-	/* free(&dos_time); */
+	/* free(time); */
 	/* TODO: Getting error when freeing the struct, why? */
 	
 	return dos_time;
-}+}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808081613.m78GDDEJ085590>