Fixed comments, freed some strings.
authorKrista Grothoff <krista@pep-project.org>
Sun, 17 Jul 2016 16:50:48 +0200
changeset 8971b478abf5b5a
parent 896 f07f9ebea462
child 898 2d2bd8d77f5e
Fixed comments, freed some strings.
test/bloblist_test.cc
     1.1 --- a/test/bloblist_test.cc	Sun Jul 17 16:29:58 2016 +0200
     1.2 +++ b/test/bloblist_test.cc	Sun Jul 17 16:50:48 2016 +0200
     1.3 @@ -67,7 +67,7 @@
     1.4      cout << "one-element bloblist duplicated.\n\n";
     1.5      
     1.6      cout << "freeing bloblist...\n";
     1.7 -    free_bloblist(new_bl); // will free srcid
     1.8 +    free_bloblist(new_bl);
     1.9      new_bl = NULL;
    1.10      
    1.11      bloblist_t* p;
    1.12 @@ -115,11 +115,14 @@
    1.13      cout << "\nfour-element bloblist successfully duplicated.\n\n";
    1.14  
    1.15      cout << "freeing bloblists...\n";
    1.16 -    free_bloblist(new_bl); // will free srcid
    1.17 +    free_bloblist(new_bl);
    1.18      free_bloblist(duplist);
    1.19      new_bl = NULL;
    1.20      duplist = NULL;
    1.21 -    
    1.22 +    free(text1);
    1.23 +    free(text2);
    1.24 +    free(text3);
    1.25 +    free(text4);    
    1.26      cout << "done.\n";
    1.27          
    1.28