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 1087247) [/libtizcore/src/tizcore.c:scan_component_folders] : Resource leak #223

Closed
tizonia opened this issue Mar 6, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@tizonia
Copy link
Owner

commented Mar 6, 2016

  • CID : 1087247
  • Type : Resource leak
  • Impact : High
  • Status : New
  • First Detected : 09/11/13
  • Classification : Unclassified
  • Severity : Unspecified
  • Component : libtizcore
  • Category : Resource leaks
  • File : /libtizcore/src/tizcore.c
  • Function : scan_component_folders
795                {
        39. Condition OMX_ErrorInsufficientResources == cache_comp_info(pp_paths[i], p_dir_entry->d_name), taking true branch
 796                  if (OMX_ErrorInsufficientResources
 797                      == cache_comp_info (pp_paths[i],
 798                                          p_dir_entry->d_name))
 799                    {
 800                      free_paths (pp_paths, npaths);

CID 1087247 (#1 of 1): Resource leak (RESOURCE_LEAK)
40. leaked_storage: Variable p_dir going out of scope leaks the storage it points to.
 801                      return OMX_ErrorInsufficientResources;
 802                    }
 803                }

@tizonia tizonia added the bug label Mar 6, 2016

@juanrubio juanrubio closed this in 669396d Mar 13, 2016

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.