On Mon, Oct 25, 2010 at 09:57:47PM -0700, Ben Pfaff wrote:
From: Ben Pfaff <[email protected]>
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
_______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
