cedric pushed a commit to branch master.
commit 359d7034ba780492e90d5396323390172da90384
Author: Cedric BAIL <[email protected]>
Date: Fri Apr 5 12:20:37 2013 +0900
eet: enable more debug information regarding memory allocation.
---
src/lib/eet/eet_lib.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 4716f6a..ee566bf 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -943,6 +943,9 @@ eet_internal_read2(Eet_File *ef)
if (eet_test_close(!ef->ed, ef))
return NULL;
+ INF("loading dictionnary for '%s' with %lu entries of size %i",
+ ef->path, num_dictionary_entries, sizeof(Eet_String));
+
ef->ed->all = calloc(1, num_dictionary_entries * sizeof(Eet_String));
if (eet_test_close(!ef->ed->all, ef))
return NULL;
--
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html