Skip to content

Commit

Permalink
Lib_common: fixed invalid pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Sep 29, 2018
1 parent 6795181 commit d09185e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static void push_basename_entry(char ***binarynames, const char *bnc, size_t * t
*binarynames = (char **)realloc(*binarynames, (*templates + 2)*sizeof(**binarynames));
assert(*binarynames != NULL);
(*binarynames)[(*templates)++] = strdup(bn_v0);
(*binarynames)[*templates +1] = NULL;
(*binarynames)[*templates] = NULL;
}
free(alt_v0);
}
Expand Down

0 comments on commit d09185e

Please sign in to comment.