Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository
Switch branch/tag
  • ipipe
  • drivers
  • ide
  • ide-probe.c
Find file BlameHistoryPermalink
  • Bartlomiej Zolnierkiewicz's avatar
    ide: fix memleak on failure in probe_for_drive() · 69197ad7
    Bartlomiej Zolnierkiewicz authored Mar 27, 2009
    
    
    Always free drive->id in probe_for_drive() if device is not present.
    
    While at it:
    - remove dead IDE_DFLAG_DEAD flag
    - remove superfluous IDE_DFLAG_PRESENT check
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    69197ad7

Imprint & Privacy Policy