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
200aec7d
Commit
200aec7d
authored
Sep 23, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid a checker warning about unfreed memory.
parent
a15c4b38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
options.c
options.c
+4
-2
No files found.
options.c
View file @
200aec7d
...
@@ -1003,15 +1003,17 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain)
...
@@ -1003,15 +1003,17 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain)
if
(
sanitize_paths
)
if
(
sanitize_paths
)
arg
=
sanitize_path
(
NULL
,
arg
,
NULL
,
0
,
NULL
);
arg
=
sanitize_path
(
NULL
,
arg
,
NULL
,
0
,
NULL
);
if
(
server_filter_list
.
head
)
{
if
(
server_filter_list
.
head
)
{
int
rej
;
char
*
cp
=
strdup
(
arg
);
char
*
cp
=
strdup
(
arg
);
if
(
!
cp
)
if
(
!
cp
)
out_of_memory
(
"parse_arguments"
);
out_of_memory
(
"parse_arguments"
);
if
(
!*
cp
)
if
(
!*
cp
)
goto
options_rejected
;
goto
options_rejected
;
clean_fname
(
cp
,
1
);
clean_fname
(
cp
,
1
);
if
(
check_filter
(
&
server_filter_list
,
cp
,
0
)
<
0
)
rej
=
check_filter
(
&
server_filter_list
,
cp
,
0
)
<
0
;
goto
options_rejected
;
free
(
cp
);
free
(
cp
);
if
(
rej
)
goto
options_rejected
;
}
}
parse_filter_file
(
&
filter_list
,
arg
,
parse_filter_file
(
&
filter_list
,
arg
,
opt
==
OPT_INCLUDE_FROM
?
MATCHFLG_INCLUDE
:
0
,
opt
==
OPT_INCLUDE_FROM
?
MATCHFLG_INCLUDE
:
0
,
...
...
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