xref: /aosp_15_r20/external/libchrome/base/test/malloc_wrapper.cc (revision 635a864187cb8b6c713ff48b7e790a6b21769273)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "malloc_wrapper.h"
6 
7 #include <stdlib.h>
8 
MallocWrapper(size_t size)9 void* MallocWrapper(size_t size) {
10   return malloc(size);
11 }
12