summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnuradio-runtime/include/gnuradio/host_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/include/gnuradio/host_buffer.h b/gnuradio-runtime/include/gnuradio/host_buffer.h
index a99519bfa9..61096ffbbf 100644
--- a/gnuradio-runtime/include/gnuradio/host_buffer.h
+++ b/gnuradio-runtime/include/gnuradio/host_buffer.h
@@ -95,7 +95,7 @@ public:
private:
// This is the simulated device buffer
- std::unique_ptr<char> d_device_buf;
+ std::unique_ptr<char[]> d_device_buf;
char* d_device_base;
/*!