From f5f25b81e8963aeba0a4c09f09358de070e0f927 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 17 Jun 2012 09:58:26 +0000 Subject: style cleanup: also fix for building ghost test and fix double free in one of the tests --- intern/ghost/test/gears/GHOST_C-Test.c | 1 - intern/ghost/test/gears/GHOST_Test.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'intern/ghost/test/gears') diff --git a/intern/ghost/test/gears/GHOST_C-Test.c b/intern/ghost/test/gears/GHOST_C-Test.c index 4086fbba730..c32d78f0358 100644 --- a/intern/ghost/test/gears/GHOST_C-Test.c +++ b/intern/ghost/test/gears/GHOST_C-Test.c @@ -526,7 +526,6 @@ int main(int argc, char **argv) /* Dispose the system */ GHOST_DisposeSystem(shSystem); - GHOST_DisposeEventConsumer(consumer); return 0; } diff --git a/intern/ghost/test/gears/GHOST_Test.cpp b/intern/ghost/test/gears/GHOST_Test.cpp index c51b72ad271..d338f11ddde 100644 --- a/intern/ghost/test/gears/GHOST_Test.cpp +++ b/intern/ghost/test/gears/GHOST_Test.cpp @@ -435,7 +435,7 @@ Application::Application(GHOST_ISystem *system) m_secondaryWindow = system->createWindow(title2, 340, 64, 320, 200, GHOST_kWindowStateNormal, GHOST_kDrawingContextTypeOpenGL, false, false); if (!m_secondaryWindow) { - cout << "could not create secondary window\n"; + std::cout << "could not create secondary window\n"; exit(-1); } -- cgit v1.2.3