Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2020)

Issue 1878044: De-allocate memory in ShFinalize(). There still seems to be a bug here if the... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by Alok Priyadarshi
Modified:
13 years, 9 months ago
Reviewers:
kbr1, dgkoch
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

De-allocate memory in ShFinalize(). There still seems to be a bug here if the translator is used in a multi-threaded environment. It seems memory local to only one thread is being deallocated - the thread from which ShFinalize() is called. I will look into it closely in the next CL.

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -80 lines) Patch
M src/compiler/InitializeDll.h View 1 chunk +2 lines, -5 lines 0 comments Download
M src/compiler/InitializeDll.cpp View 1 2 2 chunks +45 lines, -50 lines 0 comments Download
M src/compiler/InitializeParseContext.h View 1 chunk +2 lines, -3 lines 0 comments Download
M src/compiler/ParseHelper.cpp View 3 chunks +21 lines, -20 lines 0 comments Download
M src/compiler/ShaderLang.cpp View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 2
Alok Priyadarshi
http://codereview.appspot.com/1878044/diff/1/2 File src/compiler/InitializeDll.cpp (right): http://codereview.appspot.com/1878044/diff/1/2#newcode94 src/compiler/InitializeDll.cpp:94: FreeGlobalPools(); I will replace tabs before submitting, which will ...
13 years, 9 months ago (2010-07-26 21:00:39 UTC) #1
dgkoch
13 years, 9 months ago (2010-07-27 03:08:29 UTC) #2
no issues here
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b