Module: wine
Branch: master
Commit: 410c00fae4b69d90705d1e9015f985d0309c1680
URL: http://source.winehq.org/git/wine.git/?a=commit;h=410c00fae4b69d90705d1e901…
Author: Michael Stefaniuc <mstefani(a)redhat.de>
Date: Tue Apr 21 00:35:27 2009 +0200
wordpad: "Fix" the Turkish translation.
Remove the untranslated and incomplete STRINGTABLE.
---
programs/wordpad/Tr.rc | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/programs/wordpad/Tr.rc b/programs/wordpad/Tr.rc
index bf0eefd..7df9a36 100644
--- a/programs/wordpad/Tr.rc
+++ b/programs/wordpad/Tr.rc
@@ -225,16 +225,3 @@ STRINGTABLE DISCARDABLE
BEGIN
STRING_UNITS_CM, "cm"
END
-
-STRINGTABLE DISCARDABLE
-BEGIN
- STRING_DEFAULT_FILENAME, "Document"
- STRING_PROMPT_SAVE_CHANGES, "Save changes to '%s'?"
- STRING_SEARCH_FINISHED, "Finished searching the document."
- STRING_LOAD_RICHED_FAILED, "Failed to load the RichEdit library."
- STRING_SAVE_LOSEFORMATTING, "You have chosen to save in plain text format, " \
- "which will cause all formatting to be lost. " \
- "Are you sure that you wish to do this?"
- STRING_INVALID_NUMBER, "Invalid number format"
- STRING_OLE_STORAGE_NOT_SUPPORTED, "OLE storage documents are not supported"
-END
Module: wine
Branch: master
Commit: 55ad3fdda2453d36cda66f286b08cf5620c02523
URL: http://source.winehq.org/git/wine.git/?a=commit;h=55ad3fdda2453d36cda66f286…
Author: Hans Leidekker <hans(a)codeweavers.com>
Date: Mon Apr 20 16:09:12 2009 +0200
msi: Fix another double free.
parser_alloc() allocates memory and puts it on a list attached the to query object.
EXPR_sval() frees memory allocated via parser_alloc() on error but does not remove
the pointer from the list, which means that when the query destructor is called it
will be freed again.
---
dlls/msi/sql.y | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/msi/sql.y b/dlls/msi/sql.y
index 425b584..d71c186 100644
--- a/dlls/msi/sql.y
+++ b/dlls/msi/sql.y
@@ -876,10 +876,7 @@ static struct expr * EXPR_sval( void *info, const struct sql_str *str )
{
e->type = EXPR_SVAL;
if( SQL_getstring( info, str, (LPWSTR *)&e->u.sval ) != ERROR_SUCCESS )
- {
- msi_free( e );
- return NULL;
- }
+ return NULL; /* e will be freed by query destructor */
}
return e;
}