From 1bfcceaca6eb26594ab28bb68638bb480efa1879 Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Wed, 13 Jul 2011 17:32:05 -0700 Subject: For the serialization context, no fifo initialization is necessary. On shutdown it was attempting to free uninitialized memory. Change-Id: I9141be5a51253f87f21594ae38f7e653f9e69c6c --- libs/rs/rsContext.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/rs/rsContext.cpp') diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 44e9d89..4f469e1 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -340,10 +340,6 @@ Context::Context() { Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc) { Context * rsc = new Context(); - // Temporary to avoid breaking the tools - if (!dev) { - return rsc; - } if (!rsc->initContext(dev, sc)) { delete rsc; return NULL; -- cgit v1.1