Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
4a826d30
Commit
4a826d30
authored
Jul 22, 2019
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rootless.c: use SAFE_free and SAFE_XFree
parent
a4700c9d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
Rootless.c
nx-X11/programs/Xserver/hw/nxagent/Rootless.c
+6
-9
No files found.
nx-X11/programs/Xserver/hw/nxagent/Rootless.c
View file @
4a826d30
...
...
@@ -281,10 +281,7 @@ Bool nxagentRootlessTreesMatch(void)
}
}
if
(
children_return
)
{
XFree
(
children_return
);
}
SAFE_XFree
(
children_return
);
return
treesMatch
;
}
...
...
@@ -332,7 +329,7 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren)
if
(
!
ntoplevel
)
{
free
(
toplevel
);
SAFE_
free
(
toplevel
);
return
;
}
...
...
@@ -397,7 +394,7 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren)
#endif
free
(
toplevel
);
SAFE_
free
(
toplevel
);
return
;
}
...
...
@@ -818,7 +815,7 @@ int nxagentExportProperty(pWin, property, type, format, mode, nUnits, value)
if
(
freeMem
)
{
free
(
output
);
SAFE_
free
(
output
);
}
return
export
;
...
...
@@ -1131,7 +1128,7 @@ void nxagentImportProperty(Window window,
if
(
freeMem
)
{
free
(
output
);
SAFE_
free
(
output
);
}
return
;
...
...
@@ -1183,7 +1180,7 @@ void nxagentRemovePropertyFromList(void)
nxagentPropertyList
.
last
=
NULL
;
}
free
(
tmp
);
SAFE_
free
(
tmp
);
}
}
...
...
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