X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Futils%2Fdbi.c;h=1de2f1abe678b74dae092b4b51b40a888b68ceb0;hb=86008386cf41fac1355c260f490d40e084696f46;hp=d9bd3691391ad80a0728a2f9ac88c03033627fa4;hpb=edba65afec8c547fb6c02346eda68595ce9a5839;p=sysdb.git diff --git a/src/utils/dbi.c b/src/utils/dbi.c index d9bd369..1de2f1a 100644 --- a/src/utils/dbi.c +++ b/src/utils/dbi.c @@ -172,7 +172,7 @@ sdb_dbi_options_create(void) { sdb_dbi_options_t *options; - options = malloc(sizeof(options)); + options = malloc(sizeof(*options)); if (! options) return NULL;