Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
liblongpath
liblongpath-rsync
Commits
8b498b9f
Commit
8b498b9f
authored
Jun 06, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Decided against the last change.
parent
c04af697
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
pool_alloc.c
lib/pool_alloc.c
+1
-7
No files found.
lib/pool_alloc.c
View file @
8b498b9f
...
...
@@ -226,15 +226,9 @@ pool_free_old(alloc_pool_t p, void *addr)
struct
alloc_pool
*
pool
=
(
struct
alloc_pool
*
)
p
;
struct
pool_extent
*
cur
,
*
prev
,
*
next
;
if
(
!
pool
)
if
(
!
pool
||
!
addr
)
return
;
if
(
!
addr
)
{
if
(
!
pool
->
extents
)
return
;
addr
=
PTR_ADD
(
pool
->
extents
->
start
,
pool
->
extents
->
free
);
}
for
(
prev
=
NULL
,
cur
=
pool
->
extents
;
cur
;
prev
=
cur
,
cur
=
cur
->
next
)
{
if
(
addr
>=
cur
->
start
&&
addr
<
PTR_ADD
(
cur
->
start
,
pool
->
size
))
...
...
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