Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
L
lxc
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • lxc
  • Repository

Switch branch/tag
  • lxc
  • src
  • tests
  • cgpath.c
Find file
BlameHistoryPermalink
  • Evgeny Vereshchagin's avatar
    tests: fix a memory leak in cgpath · f80950ee
    Evgeny Vereshchagin authored Apr 10, 2021
    ```
    ==131188==ERROR: LeakSanitizer: detected memory leaks
    
    Direct leak of 568 byte(s) in 1 object(s) allocated from:
        #0 0x7f8918943bc8 in malloc (/lib/x86_64-linux-gnu/libasan.so.5+0x10dbc8)
        #1 0x7f89181ee5a3 in lxc_container_new /home/vagrant/lxc/src/lxc/lxccontainer.c:5264
        #2 0x55ffc5022869 in test_container /home/vagrant/lxc/src/tests/cgpath.c:176
        #3 0x55ffc5023023 in main /home/vagrant/lxc/src/tests/cgpath.c:233
        #4 0x7f891709e0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
    ```
    Signed-off-by: 's avatarEvgeny Vereshchagin <evvers@ya.ru>
    f80950ee
cgpath.c 5.86 KB
EditWeb IDE
×

Replace cgpath.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.