summaryrefslogtreecommitdiff
path: root/nuttx/libxx/libxx_delete.cxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-09 21:12:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-09 21:12:20 +0000
commitdda5be5c1fc672b5d9cb3a910b5e0cb0a41046c5 (patch)
tree0af32db840a032a50312791977b7d129def1d5b3 /nuttx/libxx/libxx_delete.cxx
parent2ac33dcffabd9422659c3b013ed8624c09ae90e4 (diff)
downloadnuttx-dda5be5c1fc672b5d9cb3a910b5e0cb0a41046c5.tar.gz
nuttx-dda5be5c1fc672b5d9cb3a910b5e0cb0a41046c5.tar.bz2
nuttx-dda5be5c1fc672b5d9cb3a910b5e0cb0a41046c5.zip
More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libxx/libxx_delete.cxx')
-rw-r--r--nuttx/libxx/libxx_delete.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/libxx/libxx_delete.cxx b/nuttx/libxx/libxx_delete.cxx
index d9203a228..4de6f338a 100644
--- a/nuttx/libxx/libxx_delete.cxx
+++ b/nuttx/libxx/libxx_delete.cxx
@@ -1,7 +1,7 @@
//***************************************************************************
// libxx/libxx_new.cxx
//
-// Copyright (C) 2009 Gregory Nutt. All rights reserved.
+// Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved.
// Author: Gregory Nutt <gnutt@nuttx.org>
//
// Redistribution and use in source and binary forms, with or without
@@ -38,7 +38,8 @@
//***************************************************************************
#include <nuttx/config.h>
-#include <cstdlib>
+
+#include "libxx_internal.hxx"
//***************************************************************************
// Definitions
@@ -58,5 +59,5 @@
void operator delete(void* ptr)
{
- free(ptr);
+ lib_free(ptr);
}