mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
minor cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32234 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b9b50a9fef
commit
474a12b708
16 changed files with 93 additions and 74 deletions
|
@ -207,10 +207,10 @@ OutputDebugStringW(L"");
|
|||
{
|
||||
if (ptr != buf)
|
||||
{
|
||||
objc_free(ptr);
|
||||
free(ptr);
|
||||
}
|
||||
max += 1024;
|
||||
ptr = objc_malloc(max);
|
||||
ptr = malloc(max);
|
||||
len = max;
|
||||
rc = RegQueryValueExW(
|
||||
key,
|
||||
|
@ -224,7 +224,7 @@ OutputDebugStringW(L"");
|
|||
{
|
||||
if (ptr != buf)
|
||||
{
|
||||
objc_free(ptr);
|
||||
free(ptr);
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ OutputDebugStringW(L"");
|
|||
mailslotName = [NSString stringWithUTF8String: (const char *) ptr];
|
||||
if (ptr != buf)
|
||||
{
|
||||
objc_free(ptr);
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue