[Libpst-commits] r64 - trunk

Joseph Nahmias jello at alioth.debian.org
Wed Dec 13 19:16:48 CET 2006


Author: jello
Date: 2006-12-13 19:16:47 +0100 (Wed, 13 Dec 2006)
New Revision: 64

Modified:
   trunk/libpst.c
Log:
don't run _pst_free_id2(), it's not ours to free...

Modified: trunk/libpst.c
===================================================================
--- trunk/libpst.c	2006-12-12 21:20:28 UTC (rev 63)
+++ trunk/libpst.c	2006-12-13 18:16:47 UTC (rev 64)
@@ -393,13 +393,11 @@
     list2 = _pst_build_id2(pf, p->list_index, NULL);
   }
   if (p->desc == NULL) {
-    if (list2) _pst_free_id2(list2);
     DEBUG_WARN(("desc is NULL for item 0x61. Cannot load Extended Attributes\n"));
     DEBUG_RET();
     return 0;
   }
   if ((na = _pst_parse_block(pf, p->desc->id, list2)) == NULL) {
-    if (list2) _pst_free_id2(list2);
     DEBUG_WARN(("Cannot process desc block for item 0x61. Not loading extended Attributes\n"));
     DEBUG_RET();
     return 0;
@@ -418,7 +416,6 @@
 
   if (buffer == NULL) {
     if (na) _pst_free_list(na);
-    if (list2) _pst_free_id2(list2);
     DEBUG_WARN(("No extended attributes buffer found. Not processing\n"));
     DEBUG_RET();
     return 0;




More information about the Libpst-commits mailing list