Merge branch 'master' of awilfox/pkgconf into master

feature/tap-sh
kaniini 2018-07-29 00:18:09 +00:00 committed by Gitea
commit 3b5626a008
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ pkgconf_tuple_find_delete(pkgconf_list_t *list, const char *key)
static char *
dequote(const char *value)
{
char *buf = calloc(strlen(value) * 2, 1);
char *buf = calloc((strlen(value) + 1) * 2, 1);
char *bptr = buf;
const char *i;
char quote = 0;