[PATCH resubmit] ncrypt: Add trailing linefeeds to ERR() messages.
Francois Gouget
fgouget at codeweavers.com
Fri Feb 18 08:19:37 CST 2022
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
Yesterday's patch collided with Santino Mazza's higher priority patches.
---
dlls/ncrypt/main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ncrypt/main.c b/dlls/ncrypt/main.c
index 8e789573924..4f9a2f357bd 100644
--- a/dlls/ncrypt/main.c
+++ b/dlls/ncrypt/main.c
@@ -190,7 +190,7 @@ static SECURITY_STATUS set_object_property(struct object *object, const WCHAR *n
{
if (!(object->properties = malloc(sizeof(*property))))
{
- ERR("Error allocating memory.");
+ ERR("Error allocating memory.\n");
return NTE_NO_MEMORY;
}
property = &object->properties[object->num_properties++];
@@ -200,7 +200,7 @@ static SECURITY_STATUS set_object_property(struct object *object, const WCHAR *n
struct object_property *tmp;
if (!(tmp = realloc(object->properties, sizeof(*property) * (object->num_properties + 1))))
{
- ERR("Error allocating memory.");
+ ERR("Error allocating memory.\n");
return NTE_NO_MEMORY;
}
object->properties = tmp;
@@ -210,7 +210,7 @@ static SECURITY_STATUS set_object_property(struct object *object, const WCHAR *n
memset(property, 0, sizeof(*property));
if (!(property->key = malloc((lstrlenW(name) + 1) * sizeof(WCHAR))))
{
- ERR("Error allocating memory.");
+ ERR("Error allocating memory.\n");
return NTE_NO_MEMORY;
}
@@ -218,7 +218,7 @@ static SECURITY_STATUS set_object_property(struct object *object, const WCHAR *n
property->value_size = value_size;
if (!(property->value = malloc(value_size)))
{
- ERR("Error allocating memory.");
+ ERR("Error allocating memory.\n");
free(property->key);
property->key = NULL;
return NTE_NO_MEMORY;
--
2.30.2
More information about the wine-devel
mailing list