From 2b5a88cf241b0ee0d20f86580dc2c628ef3f431f Mon Sep 17 00:00:00 2001 From: Angel Ortega Date: Fri, 12 Nov 2010 14:35:46 +0100 Subject: [PATCH] Fixed stress tests. --- stress.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stress.c b/stress.c index 4dd6793..9470ed2 100644 --- a/stress.c +++ b/stress.c @@ -1116,12 +1116,15 @@ void test_gettext(void) mpdm_dump(v); printf("Ad-hoc translation hash:\n"); + h = MPDM_H(0); + mpdm_ref(h); mpdm_hset(h, MPDM_LS(L"test string"), MPDM_LS(L"cadena de prueba")); mpdm_gettext_domain(MPDM_LS(L"stress"), h); v = mpdm_gettext(MPDM_LS(L"test string")); mpdm_dump(v); + mpdm_unref(h); } -- 2.11.4.GIT