pEp_utility.cpp
changeset 223 490e6399476b
parent 219 03531c4d3fda
child 224 b0290a75f7a5
     1.1 --- a/pEp_utility.cpp	Tue Nov 29 16:31:49 2016 +0100
     1.2 +++ b/pEp_utility.cpp	Thu Dec 01 16:44:03 2016 +0100
     1.3 @@ -400,7 +400,7 @@
     1.4  
     1.5                  char *buffer;
     1.6                  if (size) {
     1.7 -                    buffer = (char *) malloc(size);
     1.8 +                    buffer = (char *) calloc(1, size);
     1.9                      if (buffer == NULL)
    1.10                          throw bad_alloc();
    1.11