projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gui: Use g_memdup2() instead of deprecated g_memdup().
[pspp]
/
src
/
ui
/
gui
/
psppire-dialog-action-recode.c
diff --git
a/src/ui/gui/psppire-dialog-action-recode.c
b/src/ui/gui/psppire-dialog-action-recode.c
index 5bbaf43df7bcc9c7adef3fa4f0af8fe00473ab7c..0087e4403e8b14a62aae8a7feff8abb7c91c76f2 100644
(file)
--- a/
src/ui/gui/psppire-dialog-action-recode.c
+++ b/
src/ui/gui/psppire-dialog-action-recode.c
@@
-71,7
+71,7
@@
struct new_value
static struct new_value *
new_value_copy (struct new_value *nv)
{
- struct new_value *copy = g_memdup (nv, sizeof (*copy));
+ struct new_value *copy = g_memdup
2
(nv, sizeof (*copy));
if (nv->type == NV_STRING)
copy->v.s = xstrdup (nv->v.s);