[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging case refs
From: |
John Darrington |
Subject: |
Re: Debugging case refs |
Date: |
Tue, 26 Oct 2010 08:47:41 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Oct 25, 2010 at 09:57:47PM -0700, Ben Pfaff wrote:
From: Ben Pfaff <address@hidden>
Date: Mon, 25 Oct 2010 21:56:48 -0700
Subject: [PATCH] case: Add support for debugging case reference count
leaks.
-static inline struct ccase *case_ref (const struct ccase *);
+struct ccase *case_ref (const struct ccase *);
I think it's important that the case_ref function has the WARN_UNUSED_RESULT
flag.
When DEBUG_CASEREFS=1, simply calling case_ref (c) without assigning the result
will not copy the case.
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.
signature.asc
Description: Digital signature
- Debugging case refs, John Darrington, 2010/10/03
- 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 <=
- 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