fixed poss mem leak
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 5 Nov 2016 04:09:22 +0000 (04:09 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 5 Nov 2016 04:09:22 +0000 (04:09 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2899 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/mpdecode_core.c

index a42f03bb95bd700bda47832df7a6433ad7b38a75..e3d6d12bfbdc1d4f3875bc888a98de23bfd023f8 100644 (file)
@@ -597,10 +597,10 @@ int run_ldpc_decoder(struct LDPC *ldpc, char out_char[], double input[]) {
        
     max_row_weight = ldpc->max_row_weight;
     max_col_weight = ldpc->max_col_weight;
-       
+    /* 
     c_nodes = calloc( NumberParityBits, sizeof( struct c_node ) );
     v_nodes = calloc( CodeLength, sizeof( struct v_node));
-       
+    */
     /* initialize c-node and v-node structures */
 
     c_nodes = calloc( NumberParityBits, sizeof( struct c_node ) );