From 21bde531fcb169673d931461994a5aa1aa12e09f Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 1 Mar 2012 17:25:42 +0000 Subject: [PATCH] - memfix --- src/namestore/test_namestore_api_remove.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/namestore/test_namestore_api_remove.c b/src/namestore/test_namestore_api_remove.c index 31631da7d..5dfdd1a01 100644 --- a/src/namestore/test_namestore_api_remove.c +++ b/src/namestore/test_namestore_api_remove.c @@ -246,10 +246,9 @@ create_record (int count) rd[0].expiration = GNUNET_TIME_absolute_get(); rd[0].record_type = 0; rd[0].data_size = TEST_REMOVE_RECORD_DATALEN; - rd[0].data = GNUNET_malloc(TEST_RECORD_DATALEN); + rd[0].data = GNUNET_malloc(TEST_REMOVE_RECORD_DATALEN); memset ((char *) rd[0].data, TEST_RECORD_DATA, TEST_RECORD_DATALEN); - for (c = 1; c < RECORDS; c++) { rd[c].expiration = GNUNET_TIME_absolute_get(); -- 2.25.1