notcurses-tester: fix double-free

pull/555/head
nick black 4 years ago
parent 30f8f02ccd
commit 36bfa45d6c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -61,7 +61,6 @@ reset_terminal(){
char* str = tigetstr("sgr0");
if(str){
printf("%s", str);
free(str);
}
fflush(stdout);
close(fd);

Loading…
Cancel
Save