diff src/pst2ldif.cpp @ 230:42b38d65f7e4

patches from Justin Greer
author Carl Byington <carl@five-ten-sg.com>
date Thu, 10 Sep 2009 13:01:08 -0700
parents 2f38c4ce606f
children 410b6422d65b
line wrap: on
line diff
--- a/src/pst2ldif.cpp	Fri Sep 04 08:06:22 2009 -0700
+++ b/src/pst2ldif.cpp	Thu Sep 10 13:01:08 2009 -0700
@@ -60,6 +60,7 @@
 static void free_strings(string_set &s);
 static void free_strings(string_set &s)
 {
+	if (s.empty()) return;
     for (string_set::iterator i=s.begin(); i!=s.end(); i++) {
         free((void*)*i);
     }