mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 13:26:00 +01:00
Avoid unused return value warning
This commit is contained in:
parent
f7d9c39e91
commit
84f2b4485f
1 changed files with 1 additions and 4 deletions
|
@ -221,10 +221,7 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
|
|||
);
|
||||
}
|
||||
|
||||
char* version = string->str;
|
||||
g_string_free(string, FALSE);
|
||||
|
||||
return version;
|
||||
return g_string_free(string, FALSE);
|
||||
}
|
||||
|
||||
GdkAtom*
|
||||
|
|
Loading…
Reference in a new issue