Skip to content

Commit

Permalink
Removed old comments related to free() accounting.
Browse files Browse the repository at this point in the history
  • Loading branch information
emptymonkey committed May 11, 2018
1 parent ff0b250 commit 7b4e78c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions io_nossl.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ int init_io_control(){
/* Initialize the structures we will be using. */

/* Set up our socket. */
// free() called in this function.
ip_address_len = strlen(config->ip_addr);
if((ip_address = calloc(ip_address_len + 1, sizeof(char))) == NULL){
report_error("init_io_control(): calloc(%d, %d): %s", ip_address_len, (int) sizeof(char), strerror(errno));
Expand Down Expand Up @@ -307,7 +306,6 @@ int init_io_target(){
/* Initialize the structures we will need. */

/* Open our socket. */
// free() called in this function.
ip_address_len = strlen(config->ip_addr);
if((ip_address = calloc(ip_address_len + 1, sizeof(char))) == NULL){
report_error("init_io_target(): calloc(%d, %d): %s", ip_address_len, (int) sizeof(char), strerror(errno));
Expand Down

0 comments on commit 7b4e78c

Please sign in to comment.