Browse Source

Oops! Forgot to free some memory.

master
Richard Nyberg 18 years ago
parent
commit
9decd35436
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      btpd/cli_if.c
  2. +1
    -0
      btpd/content.c

+ 1
- 0
btpd/cli_if.c View File

@@ -220,6 +220,7 @@ cli_read_cb(int sd, short type, void *arg)
if (cmd_dispatch(cli, msg) != 0)
goto error;

free(msg);
event_add(&cli->read, NULL);
return;



+ 1
- 0
btpd/content.c View File

@@ -168,6 +168,7 @@ cm_kill(struct torrent *tp)
free(cm->block_field);
free(cm->hold_field);
free(cm->pos_field);
free(cm);
tp->cm = NULL;
}



Loading…
Cancel
Save