From 8c3b6ed0f1e64e01d09d1e9a91b79cd69512f683 Mon Sep 17 00:00:00 2001 From: jesus Date: Thu, 25 Jun 2009 20:44:46 +0000 Subject: [PATCH] LCL, fix stringgrid columns autosize AV, issue #14055 git-svn-id: trunk@20746 - --- lcl/grids.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcl/grids.pas b/lcl/grids.pas index 41513ee55a..d42773762d 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -8487,7 +8487,7 @@ begin end; finally if tmpCanvas<>Canvas then - FreeWorkingCanvas(Canvas); + FreeWorkingCanvas(tmpCanvas); end; if W=0 then