Skip to content

Commit

Permalink
autowidth: cleanup erroneous free() in AW_ReadKernPairFile()
Browse files Browse the repository at this point in the history
filename was already freed above.
  • Loading branch information
adrientetar committed Jul 14, 2014
1 parent 79a8466 commit 6806c51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fontforge/autowidth.c
Expand Up @@ -1114,7 +1114,6 @@ return( false );
fclose(file);
if ( !figurekernsets(wi,&ks)) {
ff_post_error(_("No Kern Pairs"), _("No kerning pairs found in %.200s"), fn );
free( filename );
kernsetsfree(&ks);
return( false );
}
Expand Down

0 comments on commit 6806c51

Please sign in to comment.