From 38f8d9d7a17037a34f4df229b1089536a6cdc8dc Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Thu, 27 Jan 2011 00:14:13 -0800 Subject: Correctly free resouces bound to scripts when the scripts are deleted. Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615 --- libs/rs/rsScript.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'libs/rs/rsScript.cpp') diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index efdc626071f8..9ada9c299ac4 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp @@ -78,8 +78,6 @@ void Script::setVarObj(uint32_t slot, ObjectBase *val) { (*destPtr)->decSysRef(); } *destPtr = val; - } else { - LOGV("Calling setVarObj on slot = %i which is null. This is dangerous because the script will not hold a ref count on the object.", slot); } } -- cgit v1.2.3-59-g8ed1b