Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
c71eb22d
by Ben Wagner at 2021-10-15T22:18:38-04:00
2 changed files:
Changes:
... | ... | @@ -344,14 +344,13 @@ extern "C++" |
344 | 344 |
#define FT_RENEW_ARRAY( ptr, curcnt, newcnt ) \
|
345 | 345 |
FT_MEM_SET_ERROR( FT_MEM_RENEW_ARRAY( ptr, curcnt, newcnt ) )
|
346 | 346 |
|
347 |
-#define FT_QNEW( ptr ) \
|
|
348 |
- FT_MEM_SET_ERROR( FT_MEM_QNEW( ptr ) )
|
|
347 |
+#define FT_QNEW( ptr ) FT_MEM_SET_ERROR( FT_MEM_QNEW( ptr ) )
|
|
349 | 348 |
|
350 |
-#define FT_QNEW_ARRAY( ptr, count ) \
|
|
351 |
- FT_MEM_SET_ERROR( FT_MEM_NEW_ARRAY( ptr, count ) )
|
|
349 |
+#define FT_QNEW_ARRAY( ptr, count ) \
|
|
350 |
+ FT_MEM_SET_ERROR( FT_MEM_QNEW_ARRAY( ptr, count ) )
|
|
352 | 351 |
|
353 |
-#define FT_QRENEW_ARRAY( ptr, curcnt, newcnt ) \
|
|
354 |
- FT_MEM_SET_ERROR( FT_MEM_RENEW_ARRAY( ptr, curcnt, newcnt ) )
|
|
352 |
+#define FT_QRENEW_ARRAY( ptr, curcnt, newcnt ) \
|
|
353 |
+ FT_MEM_SET_ERROR( FT_MEM_QRENEW_ARRAY( ptr, curcnt, newcnt ) )
|
|
355 | 354 |
|
356 | 355 |
|
357 | 356 |
FT_BASE( FT_Pointer )
|
... | ... | @@ -988,6 +988,9 @@ |
988 | 988 |
}
|
989 | 989 |
}
|
990 | 990 |
|
991 |
+ /* mark the string as not yet converted */
|
|
992 |
+ entry->string = NULL;
|
|
993 |
+ |
|
991 | 994 |
entry++;
|
992 | 995 |
}
|
993 | 996 |
|