projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x265 patch for threadpool shutdown fix submited as:
[goodguy/history.git]
/
cinelerra-5.0
/
plugins
/
titler
/
title.C
diff --git
a/cinelerra-5.0/plugins/titler/title.C
b/cinelerra-5.0/plugins/titler/title.C
index 3b25e1bf600d676e5b8d526b98947c0c44662cda..8ccdb2a3648bfa19b28afd2cfe45454a463bdde5 100644
(file)
--- a/
cinelerra-5.0/plugins/titler/title.C
+++ b/
cinelerra-5.0/plugins/titler/title.C
@@
-1203,10
+1203,12
@@
void TitleMain::build_previews(TitleWindow *gui)
for(int j = 0; j < len; j++)
{
FT_ULong c = test_string[j];
for(int j = 0; j < len; j++)
{
FT_ULong c = test_string[j];
- check_char_code_path(freetype_library,
- font_entry->path,
- c,
- (char *)new_path);
+// memory leaks here are fatal
+// check_char_code_path(freetype_library,
+// font_entry->path,
+// c,
+// (char *)new_path);
+ strcpy(new_path, font_entry->path);
if( !load_freetype_face(freetype_library,
freetype_face, new_path)) {
FT_Set_Pixel_Sizes(freetype_face, text_height, 0);
if( !load_freetype_face(freetype_library,
freetype_face, new_path)) {
FT_Set_Pixel_Sizes(freetype_face, text_height, 0);