cmusatyalab / gammaray

Distributed Streaming Virtual Machine Introspection
Apache License 2.0
17 stars 6 forks source link

Check for Memory Leaks #13

Open theonewolf opened 10 years ago

theonewolf commented 10 years ago

While checking some numbers, found the following new memory leaks (in new code) in various places throughout deep_inspection.c:

  1. channel name construction, but not freeing before reassignment
  2. getting lists from Redis, but not freeing lists
  3. creating BSON handles, but not cleaning them up

Valgrind provides good insight into all of these.

theonewolf commented 10 years ago

Partially fixed in 3be1aad.