Commit 2831e2f6 authored by Mouse's avatar Mouse

Merge remote-tracking branch 'upstream/pr/340' into vlm_master

parents cc5a9543 ca65a48c
......@@ -207,7 +207,7 @@ int main(int ac, char **av) {
asn_enc_rval_t ec; /* Encoder return value */
/* Allocate the Rectangle_t */
rectangle = calloc(1, sizeof(Rectangle_t)); /* not malloc! */
rectangle = calloc(1, sizeof(Rectangle_t)); /* must initialize to zero, not malloc! */
if(!rectangle) {
perror("calloc() failed");
exit(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment