This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
jdk-build-libs
/
json-c
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix json_object_new_string() segfault if *s == NULL
pull/30/head
MATSUMOTO Ryosuke
13 years ago
parent
a789601e6d
commit
4d70844730
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
json_object.c
+ 1
- 0
json_object.c
View File
@@ -523,6 +523,7 @@ static void json_object_string_delete(struct json_object* jso)
struct json_object* json_object_new_string(const char *s)
{
if(!s) return NULL;
struct json_object *jso = json_object_new(json_type_string);
if(!jso) return NULL;
jso->_delete = &json_object_string_delete;
Write
Preview
Loading…
Cancel
Save