Coder Social home page Coder Social logo

libkita's Introduction

libkita's People

Contributors

domsson avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

dvogit

libkita's Issues

Possible memory leak in libkita_child_del()

From the current rewrite (branch kita) of succade, see this valgrind log:

==32259== HEAP SUMMARY:
==32259==     in use at exit: 438 bytes in 12 blocks
==32259==   total heap usage: 326 allocs, 314 frees, 146,022 bytes allocated
==32259== 
==32259== 438 (24 direct, 414 indirect) bytes in 1 blocks are definitely lost in loss record 8 of 8
==32259==    at 0x4838D7B: realloc (vg_replace_malloc.c:836)
==32259==    by 0x4868F5C: libkita_child_del (libkita.c:493)
==32259==    by 0x4869F2D: kita_child_del (libkita.c:1372)
==32259==    by 0x4869D08: kita_child_free (libkita.c:1287)
==32259==    by 0x486A202: kita_free (libkita.c:1534)
==32259==    by 0x10FD03: main (succade.c:1376)
==32259== 
==32259== LEAK SUMMARY:
==32259==    definitely lost: 24 bytes in 1 blocks
==32259==    indirectly lost: 414 bytes in 11 blocks
==32259==      possibly lost: 0 bytes in 0 blocks
==32259==    still reachable: 0 bytes in 0 blocks
==32259==         suppressed: 0 bytes in 0 blocks
==32259== 

Possibly a memory leak in libkita? Something to investigate.

Alternative implementation using poll or select?

FreeBSD users have trouble compiling this because epoll isn't portable. Providing an alternative implementation using poll or select would solve the issue, but I have no experience with those (yet).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.