Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
libfprint
fprintd
Commits
e55ad52d
Commit
e55ad52d
authored
Feb 16, 2017
by
Christian Kellner
Committed by
Bastien Nocera
Feb 16, 2017
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
device: Fix warning when open the device fails
The error should be initialised to NULL before being set.
parent
0d286781
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/device.c
src/device.c
+1
-1
No files found.
src/device.c
View file @
e55ad52d
...
...
@@ -604,7 +604,7 @@ static void dev_open_cb(struct fp_dev *dev, int status, void *user_data)
g_message
(
"device %d claim status %d"
,
priv
->
id
,
status
);
if
(
status
!=
0
)
{
GError
*
error
;
GError
*
error
=
NULL
;
g_free
(
priv
->
sender
);
priv
->
sender
=
NULL
;
...
...
Bugzilla Migration User
@bugzilla-migration
mentioned in issue
#6 (closed)
·
May 31, 2018
mentioned in issue
#6 (closed)
mentioned in issue #6
Toggle commit list
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