]> git.sesse.net Git - nageru/blob - nageru/ref_counted_frame.cpp
Make the Nageru version settable from the Meson configuration.
[nageru] / nageru / ref_counted_frame.cpp
1 #include "ref_counted_frame.h"
2
3 #include <bmusb/bmusb.h>
4
5 void release_refcounted_frame(bmusb::FrameAllocator::Frame *frame)
6 {
7         if (frame->owner) {
8                 frame->owner->release_frame(*frame);
9         }
10         delete frame;
11 }