X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=talloc%2Ftalloc.h;fp=talloc%2Ftalloc.h;h=510cff7599f8d959480b84882b49bd76cfe1e43c;hb=ec45d0d2bc380e740ad34b2342b3846685a32610;hp=f79f45b2fedd9015720be180b98f9b5ad3292669;hpb=4f2616ac7beea6ec29636b60975f8b4f4f8b4c6e;p=ccan diff --git a/talloc/talloc.h b/talloc/talloc.h index f79f45b2..510cff75 100644 --- a/talloc/talloc.h +++ b/talloc/talloc.h @@ -100,6 +100,7 @@ * returned for success and -1 for failure. The only possible failure condition * is if the pointer had a destructor attached to it and the destructor * returned -1. See talloc_set_destructor() for details on destructors. + * errno will be preserved unless the talloc_free fails. * * If this pointer has an additional parent when talloc_free() is called then * the memory is not actually released, but instead the most recently