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
poppler
poppler
Commits
56941c92
Commit
56941c92
authored
Apr 20, 2007
by
Jeff Muizelaar
Browse files
Make dict::set() make a copy of the string if it is going to be add()ed.
parent
8e2a2497
Changes
1
Hide whitespace changes
Inline
Side-by-side
poppler/Dict.cc
View file @
56941c92
...
...
@@ -91,7 +91,7 @@ void Dict::set(char *key, Object *val) {
e
->
val
.
free
();
e
->
val
=
*
val
;
}
else
{
add
(
key
,
val
);
add
(
copyString
(
key
)
,
val
);
}
}
...
...
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