Commit b077544f b077544fa395d5709d67d2bf4df8e3e4467e2256 by Alain Magloire

Typo, we had two sizeof() operator.

1 parent fabaad02
...@@ -424,7 +424,7 @@ list_data_dup (void **ptr, void *owner) ...@@ -424,7 +424,7 @@ list_data_dup (void **ptr, void *owner)
424 { 424 {
425 struct list_iterator *itr = owner; 425 struct list_iterator *itr = owner;
426 struct list_iterator *clone; 426 struct list_iterator *clone;
427 clone = malloc (sizeof (sizeof *itr)); 427 clone = malloc (sizeof *itr);
428 if (clone == NULL) 428 if (clone == NULL)
429 return ENOMEM; 429 return ENOMEM;
430 /* let the assignement operator copy the elements. */ 430 /* let the assignement operator copy the elements. */
......