Giter Site home page Giter Site logo

Comments (3)

hintjens avatar hintjens commented on September 18, 2024

I've made a pull request with cleaner code.

On Fri, Aug 30, 2013 at 11:07 AM, lhope [email protected] wrote:

I noticed that if new_key points to an already existing item, then the
item pointed to by old_key gets deleted, but only in a soft way:-
s_item_destroy doesn't call the free_fn. This could lead to memory leaks.

This might be by design, or it might be an oversight. If it is a bug, it
seems pretty easy to fix:- just move the s_item_destroy call into the if
statement and call with hard or soft as appropriate.


Reply to this email directly or view it on GitHubhttps://github.com//issues/218
.

from czmq.

 avatar commented on September 18, 2024

Has this been fixed?

from czmq.

hintjens avatar hintjens commented on September 18, 2024

Yes, fixed.

from czmq.

Related Issues (20)

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.