8000 missed free here · dragoncoder047/pickle@6462ea2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6462ea2

Browse files
missed free here
1 parent cf42baf commit 6462ea2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/pickle.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ void tokenizer::try_colon_block() {
205205
do this->append_to_buffer(this->at()), this->advance(); while (this->at() != '\n');
206206
// At beg of next line: check to see if there is an unindent
207207
if (!this->test_str(indent)) {
208+
free(indent);
208209
if (isspace(this->at())) this->error(NULL, "unindent does not match previous indent");
209210
break;
210211
}

0 commit comments

Comments
 (0)
0