Profiler - Remove buffer to fix memory leaks
Change-Id: Ia3717ccfc147221557f5469965c2abb76b3f451c Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
committed by
Galantsev, Dmitrii
szülő
58811fecbb
commit
dfae9cd37f
@@ -22,10 +22,8 @@ THE SOFTWARE.
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <cstddef>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
#include "rdc/rdc.h"
|
||||
@@ -33,7 +31,7 @@ THE SOFTWARE.
|
||||
rdc_handle_t rdc_handle;
|
||||
rdc_status_t result;
|
||||
|
||||
constexpr std::string_view value_to_string(rdc_field_value value) {
|
||||
const std::string value_to_string(rdc_field_value value) {
|
||||
switch (value.type) {
|
||||
case INTEGER:
|
||||
return std::to_string(value.value.l_int);
|
||||
|
||||
Reference in New Issue
Block a user