We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1161e9c + 28e893e commit fc66c3fCopy full SHA for fc66c3f
1 file changed
secretservice/secretservice.c
@@ -83,6 +83,9 @@ GError *get(char *server, char **username, char **secret) {
83
}
84
g_free(value);
85
secretValue = secret_item_get_secret(l->data);
86
+ if (secretValue == NULL) {
87
+ continue;
88
+ }
89
if (secret != NULL) {
90
*secret = strdup(secret_value_get(secretValue, &length));
91
secret_value_unref(secretValue);
0 commit comments