Skip to content
Embedded Artistry

Embedded Artistry

Building Superior Embedded Systems

  • Welcome
  • Blog
  • Courses
  • Field Atlas
  • Memberships
  • Resources
    • Archive
    • Newsletter
    • What We’re Reading
    • For Beginners
    • Glossary
    • Libraries
    • Templates
    • YouTube Channel
  • Store
  • Consulting

Day: March 1, 2017

Posted on 1 March 201715 December 2021

C++ Smart Pointers with Aligned Malloc/Free

Recall in the aligned_malloc article that we noted the need to pair aligned_malloc with aligned_free. Using the wrong free call can cause serious problems, as we have modified the pointer that malloc originally returned to us. This problem of pairing allocators and deleters also applies in other situations: new must be paired with delete, while …

Continue reading "C++ Smart Pointers with Aligned Malloc/Free"

We work hard now so that we experience results later. But life is lived now, which also means we must make choices to protect what’s most important and preserve our energy for the things that can’t wait until later. Some things can never be recovered once lost. You must take care of them in the moment.Todd Henry
Daily Creative

Free Newsletter

Sign up and receive our free playbook for writing portable embedded software.

  • Login
  • RSS Feed
  • Embedded Systems Newsletter
  • Membership Information

Featured Courses

  • Fundamentals of Abstraction
    15 Lessons
  • Designing Embedded Software for Change
    67 Lessons
  • Heapless C++
    27 Lessons
  • My Account
  • Privacy Policy
  • Contact Us
  • GitHub
  • LinkedIn
  • Twitter

©2026 Embedded Artistry LLC. All rights reserved.
EMBEDDED ARTISTRY and the OWL logo are registered trademarks of Embedded Artistry LLC.

Privacy Policy Proudly powered by WordPress