summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_cnp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c
index 5a32ad5aef..2954867d68 100644
--- a/src/lib/elementary/elm_cnp.c
+++ b/src/lib/elementary/elm_cnp.c
@@ -2484,6 +2484,7 @@ _wl_targets_converter(char *target, Wl_Cnp_Selection *sel EINA_UNUSED, void *dat
2484 len += strlen(_atoms[i].name) + strlen(sep); 2484 len += strlen(_atoms[i].name) + strlen(sep);
2485 } 2485 }
2486 } 2486 }
2487 len++; //terminating null byte
2487 aret = calloc(1, len * sizeof(char)); 2488 aret = calloc(1, len * sizeof(char));
2488 if (!aret) return EINA_FALSE; 2489 if (!aret) return EINA_FALSE;
2489 for (i = 0; i < CNP_N_ATOMS; i++) 2490 for (i = 0; i < CNP_N_ATOMS; i++)