summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8321c5d)
raw | patch | inline | side by side (parent: 8321c5d)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 1 Apr 2008 17:30:06 +0000 (17:30 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 1 Apr 2008 17:30:06 +0000 (17:30 +0000) |
src/document-subset.cpp | patch | blob | history |
index 5fcf1641cf80d26052816317ed244686e845bcd6..04b3d9b0629cdc22965e88bb1cc0ef185b121b1e 100644 (file)
--- a/src/document-subset.cpp
+++ b/src/document-subset.cpp
for ( Map::iterator iter=records.begin()
; iter != records.end() ; ++iter )
{
- sp_object_unref((*iter).first);
+ if ((*iter).first)
+ sp_object_unref((*iter).first);
}
}