Skip to content

Commit

Permalink
beesort: fixes free on wrong pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed May 15, 2012
1 parent 54b2e66 commit f46afdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beesort.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void *my_generate_key(const void *data)
v = calloc(1, sizeof(*v));
if(!v) {
perror("calloc(beeversion)");
free(s);
free(string);
return NULL;
}

Expand Down

0 comments on commit f46afdf

Please sign in to comment.