get_content_by_content_name
diff --git a/nlsr_sync.c b/nlsr_sync.c
index 5da514e..1d16e73 100644
--- a/nlsr_sync.c
+++ b/nlsr_sync.c
@@ -265,6 +265,7 @@
 					length_in=length;
 					ccn_content_get_value(ptr_in, length_in, &pcobuf1, 
 															&ptr_in, &length_in);
+					content_data = (unsigned char **)calloc(1,sizeof(char *));
 					*content_data = (unsigned char *) calloc(length_in, 
 																sizeof(char ));
 					memcpy (*content_data, ptr_in, length_in);