当前位置:网站首页>json_object_put: Assertion `jso->_ref_count > 0‘ failed.Aborted (core dumped)
json_object_put: Assertion `jso->_ref_count > 0‘ failed.Aborted (core dumped)
2022-07-26 10:25:00 【青云 --小凡】
分析:使用json-c库的函数json_object_put(*obj)时导致,原因是obj对象被释放之后,又再次使用导致。
fileInformation_t *file_info_struct = malloc(sizeof(fileInformation_t));
struct json_object* file_info_array_json = json_object_array_get_idx(every_one_ecu, elm);
struct json_object* final_json;
json_object_object_get_ex(file_info_array_json, "fileLevelName", &final_json);
if(json_object_get_type(final_json) == json_type_string)
{
file_info_struct->fileLevelName = json_object_get_string(final_json);
printf("%s\n", file_info_struct->fileLevelName);
}
json_object_put(final_json);边栏推荐
- 汉诺塔II|汉诺塔4柱
- Map key not configured and uniapp routing configuration and jump are reported by the uniapp < map >< /map > component
- [Halcon vision] image filtering
- 数据库的复习--1.概述
- Solution of inputting whole line string after inputting integer
- 畅听,网文流量竞争的下一站?
- 【socket】三次握手是在listen中完成,accept只从完成连接的队列中拿出一个连接
- Error in render: "typeerror: cannot read properties of undefined (reading 'length')" --- error when calling interface
- 如何写一篇百万阅读量的文章
- SAP ABAP Netweaver 容器化的一些前沿性研究工作分享
猜你喜欢

2022/07/25------字符串的排列

抓包工具fiddler和wireshark对比

Data communication foundation TCPIP reference model

Review of database -- 1. Overview

INSTALL_ FAILED_ SHARED_ USER_ Incompatible error resolution
![[Halcon vision] morphological corrosion](/img/f9/f01dd3340824ff28c84cf7bb52882e.png)
[Halcon vision] morphological corrosion

Map key not configured and uniapp routing configuration and jump are reported by the uniapp < map >< /map > component
![Uniapp common error [wxml file compilation error]./pages/home/home Wxml and using MySQL front provided by phpstudy to establish an independent MySQL database and a detailed tutorial for independent da](/img/21/5dceab9815b503f0b62d26a430d7eb.png)
Uniapp common error [wxml file compilation error]./pages/home/home Wxml and using MySQL front provided by phpstudy to establish an independent MySQL database and a detailed tutorial for independent da
![[Halcon vision] array](/img/29/905d93795a24538fded18d2d377e52.png)
[Halcon vision] array

30 minutes to thoroughly understand the synchronized lock upgrade process
随机推荐
Basic usage of protobuf
INSTALL_ FAILED_ SHARED_ USER_ Incompatible error resolution
面试第一家公司的面试题及答案(一)
Introduction to latex, EPS picture bounding box
【Halcon视觉】编程逻辑
数通基础-Telnet远程管理设备
【Halcon视觉】图像灰度变化
【C#语言】LINQ概述
Common errors when starting projects in uniapp ---appid
PTA class a 1002
Flask framework beginner-03-template
2022/07/25------字符串的排列
Application of crosstab in SQL Server
Learning about opencv (3)
【Halcon视觉】算子的结构
[C language] named type and anonymous type
[qualcomm][network] QTI service analysis
新建福厦铁路全线贯通 这将给福建沿海带来什么?
SPARK中 DS V2 push down(下推)的一些说明
On the compilation of student management system of C language course (simple version)