Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura-pdf-poppler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
zathura-pdf-poppler
Commits
a3d371d1
Commit
a3d371d1
authored
Oct 03, 2018
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify
parent
88c7176a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
16 deletions
+9
-16
zathura-pdf-poppler/image.c
zathura-pdf-poppler/image.c
+9
-16
No files found.
zathura-pdf-poppler/image.c
View file @
a3d371d1
...
...
@@ -3,7 +3,15 @@
#include "plugin.h"
#include "utils.h"
static
void
pdf_zathura_image_free
(
void
*
image
);
static
void
pdf_zathura_image_free
(
void
*
data
)
{
zathura_image_t
*
image
=
data
;
if
(
image
!=
NULL
)
{
g_free
(
image
->
data
);
}
g_free
(
image
);
}
girara_list_t
*
pdf_page_images_get
(
zathura_page_t
*
page
,
void
*
data
,
zathura_error_t
*
error
)
...
...
@@ -104,18 +112,3 @@ error_ret:
return
NULL
;
}
static
void
pdf_zathura_image_free
(
void
*
data
)
{
if
(
data
==
NULL
)
{
return
;
}
zathura_image_t
*
image
=
data
;
if
(
image
->
data
!=
NULL
)
{
g_free
(
image
->
data
);
}
g_free
(
image
);
}
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