[v3 PATCH 4/5] combase: Move IMalloc/IMallocSpy functionality.

Huw Davies huw at codeweavers.com
Tue Aug 4 11:11:35 CDT 2020


On Tue, Aug 04, 2020 at 05:02:39PM +0300, Nikolay Sivov wrote:
> diff --git a/dlls/combase/malloc.c b/dlls/combase/malloc.c
> new file mode 100644
> index 00000000000..8d0f70c513c
> --- /dev/null
> +++ b/dlls/combase/malloc.c
> @@ -0,0 +1,457 @@
> +/*
> + * Copyright 1997 Marcus Meissner
> + *
> + * This library is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU Lesser General Public
> + * License as published by the Free Software Foundation; either
> + * version 2.1 of the License, or (at your option) any later version.
> + *
> + * This library is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with this library; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
> + */
> +
> +#define COBJMACROS
> +
> +#include "oleauto.h"
> +
> +#include "wine/debug.h"
> +#include "wine/heap.h"
> +
> +WINE_DEFAULT_DEBUG_CHANNEL(ole);
> +WINE_DECLARE_DEBUG_CHANNEL(olemalloc);

I think this could all go to olemalloc.

Huw.



More information about the wine-devel mailing list