From 6f98e0c3dfe261386e55896495cc12106ef16749 Mon Sep 17 00:00:00 2001 From: "timeless@mozdev.org" Date: Wed, 13 Jan 2010 21:21:52 +0100 Subject: [PATCH] Bug 451187 JS causes a crash in nspr [@ Bfree ] freedtoa should be marked as static as the data type returned by these implementations does not need to be freed with it r=wtc --- nsprpub/pr/src/misc/prdtoa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsprpub/pr/src/misc/prdtoa.c b/nsprpub/pr/src/misc/prdtoa.c index a10ffaf3ea1..e1507dfabdb 100644 --- a/nsprpub/pr/src/misc/prdtoa.c +++ b/nsprpub/pr/src/misc/prdtoa.c @@ -2673,7 +2673,7 @@ nrv_alloc(char *s, char **rve, int n) * when MULTIPLE_THREADS is not defined. */ - void + static void #ifdef KR_headers freedtoa(s) char *s; #else