Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • tools
  • power
  • cpupower
  • utils
  • cpuidle-info.c
Find file BlameHistoryPermalink
  • Thomas Renninger's avatar
    cpupower: Remove unneeded code and by that fix a memleak · e0c6082d
    Thomas Renninger authored Dec 16, 2011
    
    
    Looks like some not needed debug code slipped in.
    Also this code:
    tmp = sysfs_get_idlestate_name(cpu, idlestates - 1);
    performs a strdup and the mem was not freed again.
    -> delete it.
    Signed-off-by: default avatarThomas Renninger <trenn@suse.de>
    Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    e0c6082d

Replace cpuidle-info.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.