From 351996d9f0390ef44412fa678bc7a073a94e23e5 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Thu, 16 Mar 2017 18:49:36 +0000 Subject: [PATCH] Fixed memory leak in DLL, added load_image() & free_image(), added read_names_from_file() --- src/art.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/art.c b/src/art.c index 9a0559e..66cef5a 100644 --- a/src/art.c +++ b/src/art.c @@ -4,10 +4,14 @@ #include "option_list.h" #include "blas.h" #include "classifier.h" -#include <sys/time.h> +//#include <sys/time.h> +#include <time.h> +#include <winsock.h> +#include "gettimeofday.h" #ifdef OPENCV #include "opencv2/highgui/highgui_c.h" +image get_image_from_stream(CvCapture *cap); #endif -- Gitblit v1.10.0