From 1c01e897d918651c7d9a930da4f489cf7bc20d20 Mon Sep 17 00:00:00 2001 From: Julian Storer Date: Tue, 13 Oct 2009 14:14:12 +0100 Subject: [PATCH] Fixed a typo in JUCEApplication that caused a small leak --- juce_amalgamated.cpp | 2 +- src/application/juce_Application.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index f4d6c25d32..4d12f6ad76 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -16336,7 +16336,7 @@ bool JUCEApplication::initialiseApp (String& commandLine) initialiseJuce_GUI(); - InterProcessLock* appLock = 0; + jassert (appLock == 0); // initialiseApp must only be called once! if (! moreThanOneInstanceAllowed()) { diff --git a/src/application/juce_Application.cpp b/src/application/juce_Application.cpp index d8dc039cbf..b22a0b6af2 100644 --- a/src/application/juce_Application.cpp +++ b/src/application/juce_Application.cpp @@ -194,7 +194,7 @@ bool JUCEApplication::initialiseApp (String& commandLine) initialiseJuce_GUI(); - InterProcessLock* appLock = 0; + jassert (appLock == 0); // initialiseApp must only be called once! if (! moreThanOneInstanceAllowed()) {