Plug a mem. leak

This commit is contained in:
Jasper Lievisse Adriaanse 2011-05-22 17:31:37 +02:00 committed by Daniel Beer
parent bffe2b26c1
commit 11f46c40fc
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ static struct simio_device *tracer_create(char **arg_text)
tr = malloc(sizeof(*tr));
if (!tr) {
pr_error("tracer: couldn't allocate memory");
free(history);
return NULL;
}