Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d661f281 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge "libgui: assign handle to NULL after free"

parents 200316cc 22e4cc36
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -113,6 +113,7 @@ void GraphicBuffer::free_handle()
        GraphicBufferAllocator& allocator(GraphicBufferAllocator::get());
        allocator.free(handle);
    }
    handle = NULL;
    mWrappedBuffer = 0;
}