First time here? Check out the FAQ!
answered 2012-12-03 04:17:41 -0600
namedWindow allocates some memory for inner structures. This memory will be freed when you close window or when you call destroyWindow / destroyAllWindows. Try to add destroyAllWindows to ImageLoaderer destructor.
namedWindow
destroyWindow
destroyAllWindows
ImageLoaderer