Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
876f1e9e
Commit
876f1e9e
authored
Dec 23, 2010
by
Moritz Lipp
Browse files
Implemented djvu_document_free
parent
f8aa8773
Changes
1
Hide whitespace changes
Inline
Side-by-side
ft/djvu/djvu.c
View file @
876f1e9e
...
...
@@ -57,6 +57,13 @@ djvu_document_free(zathura_document_t* document)
return
false
;
}
if
(
document
->
data
)
{
djvu_document_t
*
djvu_document
=
(
djvu_document_t
*
)
document
->
data
;
ddjvu_context_release
(
djvu_document
->
context
);
ddjvu_document_release
(
djvu_document
->
document
);
free
(
document
->
data
);
}
return
true
;
}
...
...
Write
Preview
Supports
Markdown
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