summaryrefslogtreecommitdiff
path: root/samples/image_diff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'samples/image_diff.cc')
-rw-r--r--samples/image_diff.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/image_diff.cc b/samples/image_diff.cc
index 70c74c951c..21460f5a62 100644
--- a/samples/image_diff.cc
+++ b/samples/image_diff.cc
@@ -19,6 +19,7 @@
#include <string>
#include <vector>
+#include "core/fxcrt/fx_memory.h"
#include "samples/image_diff_png.h"
#include "third_party/base/logging.h"
#include "third_party/base/numerics/safe_conversions.h"
@@ -312,6 +313,8 @@ int DiffImages(const std::string& file1,
}
int main(int argc, const char* argv[]) {
+ FXMEM_InitializePartitionAlloc();
+
bool histograms = false;
bool produce_diff_image = false;
std::string filename1;