Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
bc147d80
Commit
bc147d80
authored
Aug 25, 2014
by
Aaron Burghardt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed memory leaks in new_xml_plist() and parse_real_node().
parent
83650b30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
bplist.c
src/bplist.c
+1
-0
xplist.c
src/xplist.c
+0
-3
No files found.
src/bplist.c
View file @
bc147d80
...
...
@@ -251,6 +251,7 @@ static plist_t parse_real_node(char *bnode, uint8_t size)
data
->
realval
=
*
(
double
*
)
buf
;
break
;
default:
free
(
buf
);
free
(
data
);
return
NULL
;
}
...
...
src/xplist.c
View file @
bc147d80
...
...
@@ -120,9 +120,6 @@ static xmlDocPtr new_xml_plist(void)
char
*
plist
=
strdup
(
plist_base
);
xmlDocPtr
plist_xml
=
xmlParseMemory
(
plist
,
strlen
(
plist
));
if
(
!
plist_xml
)
return
NULL
;
free
(
plist
);
return
plist_xml
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment