summaryrefslogtreecommitdiff
path: root/libgphoto2
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2')
-rw-r--r--libgphoto2/gphoto2-abilities-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgphoto2/gphoto2-abilities-list.c b/libgphoto2/gphoto2-abilities-list.c
index e8cb250d0..67249a194 100644
--- a/libgphoto2/gphoto2-abilities-list.c
+++ b/libgphoto2/gphoto2-abilities-list.c
@@ -513,8 +513,8 @@ gp_abilities_list_append (CameraAbilitiesList *list, CameraAbilities abilities)
if (list->count == list->maxcount) {
C_MEM (list->abilities = realloc (list->abilities,
- sizeof (CameraAbilities) * (list->maxcount + 50)));
- list->maxcount += 50;
+ sizeof (CameraAbilities) * (list->maxcount + 100)));
+ list->maxcount += 100;
}
memcpy (&(list->abilities [list->count]), &abilities,