File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -3811,8 +3811,16 @@ extern void javaScriptSkipObjectExpression (void)
3811
3811
deleteToken (token );
3812
3812
3813
3813
#ifdef HAVE_ICONV
3814
- if (JSUnicodeConverter != (iconv_t ) - 2 && /* not created */
3815
- JSUnicodeConverter != (iconv_t ) - 1 /* creation failed */ )
3814
+ if (
3815
+ /* not created */
3816
+ JSUnicodeConverter != (iconv_t ) - 2 &&
3817
+ /* creation failed */
3818
+ JSUnicodeConverter != (iconv_t ) - 1 &&
3819
+ /* The convert was created before entering this function
3820
+ * and no new converter is created in this function (and
3821
+ * functions called from this functions). */
3822
+ JSUnicodeConverter != originalJSUnicodeConverter
3823
+ )
3816
3824
iconv_close (JSUnicodeConverter );
3817
3825
3818
3826
JSUnicodeConverter = originalJSUnicodeConverter ;
You can’t perform that action at this time.
0 commit comments