Skip to content

Commit

Permalink
Merge pull request #3010 from darrengarvey/fixup-memory-leak-siamese
Browse files Browse the repository at this point in the history
Fix memory leak in convert_mnist_siamese_data.
  • Loading branch information
jeffdonahue committed Sep 2, 2015
2 parents 35980eb + e8f96f5 commit cbb2ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/siamese/convert_mnist_siamese_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void convert_dataset(const char* image_filename, const char* label_filename,
}

delete db;
delete pixels;
delete [] pixels;
}

int main(int argc, char** argv) {
Expand Down

0 comments on commit cbb2ed1

Please sign in to comment.