[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-dev
Subject:    [ovs-dev] memory leaks in meters code?
From:       blp () nicira ! com (Ben Pfaff)
Date:       2013-06-28 22:08:21
Message-ID: 20130628220821.GA32128 () nicira ! com
[Download RAW message or body]

I think that there are some memory leaks in the new meters code.  I
don't, for example, see any "free" in ofproto_destroy() to match up
with this xzalloc() in ofproto_create():

    ofproto->meters = xzalloc((ofproto->meter_features.max_meters + 1)
                              * sizeof(struct meter *));

Are you willing to take a look?

Thanks,

Ben.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic