mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 06:33:46 +01:00
types
This commit is contained in:
parent
00c9a6e683
commit
946e865cc6
@ -121,20 +121,18 @@ zathura_document_information_entry_free(zathura_document_information_entry_t* en
|
|||||||
g_free(entry);
|
g_free(entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
zathura_signature_info_t*
|
zathura_signature_info_t* zathura_signature_info_new(void) {
|
||||||
zathura_signature_info_new(void)
|
|
||||||
{
|
|
||||||
return g_try_malloc0(sizeof(zathura_signature_info_t));
|
return g_try_malloc0(sizeof(zathura_signature_info_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void zathura_signature_info_free(zathura_signature_info_t* signature) {
|
||||||
zathura_signature_info_free(zathura_signature_info_t* signature)
|
|
||||||
{
|
|
||||||
if (signature == NULL) {
|
if (signature == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free(signature->signer);
|
g_free(signature->signer);
|
||||||
g_date_time_unref(signature->time);
|
if (signature->time) {
|
||||||
|
g_date_time_unref(signature->time);
|
||||||
|
}
|
||||||
g_free(signature);
|
g_free(signature);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user