[prev in list] [next in list] [prev in thread] [next in thread]
List: libpst-commits
Subject: [Libpst-commits] r64 - trunk
From: jello () alioth ! debian ! org (Joseph Nahmias)
Date: 2006-12-13 19:16:48
Message-ID: E1GuYeu-0001k9-BQ () alioth ! debian ! org
[Download RAW message or body]
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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic