Tim Ruehsen <[email protected]> writes: > diff --git a/examples/base16enc.c b/examples/base16enc.c > index c3cb58f..3fc410e 100644 > --- a/examples/base16enc.c > +++ b/examples/base16enc.c > @@ -47,21 +47,6 @@ > int > main(int argc UNUSED, char **argv UNUSED) > { > - > - /* "buffer" will hold the bytes from disk: */ > - uint8_t * buffer = (uint8_t *) malloc (CHUNK_SIZE * sizeof(uint8_t)); > - if (buffer == NULL) { > - fprintf (stderr, "Cannot allocate read buffer.\n"); > - return EXIT_FAILURE; > - } > - > - /* "result" will hold bytes before output: */ > - uint8_t * result = (uint8_t *) malloc (ENCODED_SIZE * sizeof(uint8_t)); > - if (result == NULL) { > - fprintf (stderr, "Cannot allocate write buffer.\n"); > - return EXIT_FAILURE; > - } > - > #ifdef WIN32 > _setmode(0, O_BINARY); > #endif
Applied. Thanks, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
