Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverity Scan (CID 1352364) [/libtizplatform/src/tizrc.c:get_node] : Resource leak #232

Closed
tizonia opened this issue Mar 6, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@tizonia
Copy link
Owner

commented Mar 6, 2016

  • CID : 1352364
  • Type : Resource leak
  • Impact : High
  • Status : New
  • First Detected : 02/29/16
  • Classification : Unclassified
  • Severity : Unspecified
  • Component : libtizplatform
  • Category : Resource leaks
  • File : /libtizplatform/src/tizrc.c
  • Function : get_node
290
    18. Condition -1 != ret, taking true branch
291  if (-1 != ret)
292    {
293      *app_kv = p_kv;
294    }
295

CID 1352364 (#1 of 1): Resource leak (RESOURCE_LEAK)
19. leaked_storage: Variable value going out of scope leaks the storage it points to.
296  return ret;
297}

@tizonia tizonia added the bug label Mar 6, 2016

juanrubio pushed a commit that referenced this issue Jan 11, 2017

libtizplatform: Fix for 'Coverity Scan (CID 1352364) [/libtizplatform…
…/src/tizrc.c:get_node] : Resource leak' closes (#232)

juanrubio added a commit that referenced this issue Jan 11, 2017

libtizplatform: Updated fix for 'Coverity Scan (CID 1352364) [/libtiz…
…platform/src/tizrc.c:get_node] : Resource leak' (#232)
@juanrubio

This comment has been minimized.

Copy link
Collaborator

commented Jan 11, 2017

This can be closed now.

@juanrubio juanrubio closed this Jan 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.