Prechádzať zdrojové kódy

Marked double quote bug for encore_hexstr.

AdrianSimionov 11 rokov pred
rodič
commit
5e01730449
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/docsis_encode.c

+ 1 - 0
src/docsis_encode.c

@@ -430,6 +430,7 @@ int encode_hexstr (unsigned char *buf, void *tval, struct symbol_entry *sym_ptr)
   fprintf(stderr, "encode_hexstr: found '%s' on line %d\n", helper->strval, line );
 #endif /* DEBUG */
   free(helper->strval);
+  /* TODO Fix bug added by free(helper->strval) when double quote is used in text config file. */
   return ( i );
 }