Skip to content

Commit

Permalink
mx_util: free the right pointer in mx_strvec_free
Browse files Browse the repository at this point in the history
  • Loading branch information
donald authored and mariux committed Oct 16, 2015
1 parent c0b6bad commit 905dde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mx_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ void mx_strvec_free(char **strvec)
return;

for (sv = strvec; *sv; sv++) {
free(sv);
free(*sv);
}
free(strvec);
}
Expand Down

0 comments on commit 905dde3

Please sign in to comment.