From b38d534873ca514f5a5230596c838aa37eca1568 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Thu, 21 Oct 2010 14:06:55 -0700 Subject: Fix refcounting bugs where the sys refcount could be corrupted during async type creation. Change-Id: If42828e92990598b0cb5da81c82ea513f94725f2 Fix stack object deletion bug. Change-Id: I2c723aa5ad15e0c99dc9cd0cfbc7db80bace172a --- libs/rs/rsSampler.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libs/rs/rsSampler.cpp') diff --git a/libs/rs/rsSampler.cpp b/libs/rs/rsSampler.cpp index 180d78e..cfae7b2 100644 --- a/libs/rs/rsSampler.cpp +++ b/libs/rs/rsSampler.cpp @@ -33,8 +33,6 @@ using namespace android::renderscript; Sampler::Sampler(Context *rsc) : ObjectBase(rsc) { - mAllocFile = __FILE__; - mAllocLine = __LINE__; // Should not get called. rsAssert(0); } @@ -47,8 +45,6 @@ Sampler::Sampler(Context *rsc, RsSamplerValue wrapR, float aniso) : ObjectBase(rsc) { - mAllocFile = __FILE__; - mAllocLine = __LINE__; mMagFilter = magFilter; mMinFilter = minFilter; mWrapS = wrapS; -- cgit v1.1