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

Issue 268400043: Bug1213980

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 6 months ago by franziskus
Modified:
8 years, 6 months ago
Reviewers:
ekr, mt
Visibility:
Public.

Description

[CID 1286127] Variable objects going out of scope leaks the storage it points to If create_object_array fails, we have to free the objects variable.

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M lib/dev/devutil.c View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 2
mt
LGTM https://codereview.appspot.com/268400043/diff/1/lib/dev/devutil.c File lib/dev/devutil.c (right): https://codereview.appspot.com/268400043/diff/1/lib/dev/devutil.c#newcode582 lib/dev/devutil.c:582: nss_ZFreeIf(objects); nit: indent looks whacky
8 years, 6 months ago (2015-10-13 18:04:14 UTC) #1
franziskus
8 years, 6 months ago (2015-10-13 22:29:35 UTC) #2
On 2015/10/13 18:04:14, mt wrote:
> LGTM
> 
> https://codereview.appspot.com/268400043/diff/1/lib/dev/devutil.c
> File lib/dev/devutil.c (right):
> 
> https://codereview.appspot.com/268400043/diff/1/lib/dev/devutil.c#newcode582
> lib/dev/devutil.c:582: nss_ZFreeIf(objects);
> nit: indent looks whacky

yeah, tabs and space... should be better now
Sign in to reply to this message.

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