History

fix a resource leak of comments on input parsing failure

Helmut Grohne committed 3 years ago

Commit 20de3741 parent 52924c11 file · +1 −0Browse files

Unified · Split

src/formats.c+1−0
@@ -627,6 +627,7 @@ error: · 626 unmodified lines
627627 free(ft->priv);
628628 free(ft->filename);
629629 free(ft->filetype);
630+ sox_delete_comments(&ft->oob.comments);
630631 free(ft);
631632 return NULL;
632633 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t