[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debugging case refs
From: |
John Darrington |
Subject: |
Debugging case refs |
Date: |
Sun, 3 Oct 2010 11:32:54 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
It's almost impossible to track down memory leaks when ref counted
objects are involved. I'm proposing this patch to case.[ch] which
allows a preprocessor option to be set redefining case_ref and case_unref
to unconditionally copy and destroy cases respectively.
It would be easier to use if we could put the switch entirely inside case.c,
since almost everything depends upon case.h -- but we could only do that
if we sacrificed the benefits of the inline functions.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
ccase.patch
Description: Text Data
signature.asc
Description: Digital signature
- Debugging case refs,
John Darrington <=
- Re: Debugging case refs, Ben Pfaff, 2010/10/04
- Re: Debugging case refs, John Darrington, 2010/10/22
- Re: Debugging case refs, Ben Pfaff, 2010/10/25
- Re: Debugging case refs, Ben Pfaff, 2010/10/26
- Re: Debugging case refs, John Darrington, 2010/10/26
- Re: Debugging case refs, Ben Pfaff, 2010/10/26
- Re: Debugging case refs, John Darrington, 2010/10/26
- Re: Debugging case refs, Ben Pfaff, 2010/10/27