summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-20 09:03:26 -0700
committerKarl Williamson <public@khwilliamson.com>2012-01-13 09:58:33 -0700
commit823d1b2e8a5654f6434160200f9ef76d4b64c350 (patch)
tree665c8da9b012895feb6bb6c15d4dd6856911a351 /proto.h
parentb0e3252edb68bc2dd1e28347ff032f53358df3ce (diff)
downloadperl-823d1b2e8a5654f6434160200f9ef76d4b64c350.tar.gz
embed.fnc: swash_init() return value should not be ignored
Otherwise can have memory leaks
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index a6a1a44526..e0939ebaa8 100644
--- a/proto.h
+++ b/proto.h
@@ -4387,6 +4387,7 @@ PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
assert(swash); assert(ptr)
PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none)
+ __attribute__warn_unused_result__
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)
__attribute__nonnull__(pTHX_3);