Skip to content

Commit

Permalink
Merge pull request #138 from gbuddappagari/master
Browse files Browse the repository at this point in the history
Use correct deallocator
  • Loading branch information
schmidtw committed Oct 30, 2017
2 parents 1fdf4a4 + 774ec17 commit 61ee6ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.c
Expand Up @@ -101,7 +101,7 @@ void get_webpa_token(char *token, char *name, size_t len, char *serNum, char *ma
if(out)
{
fgets(token, len, out);
fclose(out);
pclose(out);
}
fclose(file);
}
Expand Down

0 comments on commit 61ee6ac

Please sign in to comment.