[evolution-ews] ...and make sure to not free uninitialized memory in the previous commit



commit b5dc4924b2c0dd86d19a0804781df7a1c2f111d9
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jul 18 19:00:59 2012 +0200

    ...and make sure to not free uninitialized memory in the previous commit

 src/camel/camel-ews-summary.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/camel/camel-ews-summary.c b/src/camel/camel-ews-summary.c
index 04ffb82..f85d947 100644
--- a/src/camel/camel-ews-summary.c
+++ b/src/camel/camel-ews-summary.c
@@ -205,9 +205,9 @@ message_info_from_db (CamelFolderSummary *s,
 				iinfo->item_type = g_ascii_strtoll (values[1], NULL, 10);
 				iinfo->change_key = g_strdup (values[2]);
 			}
-		}
 
-		g_strfreev (values);
+			g_strfreev (values);
+		}
 	}
 
 	return info;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]