X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osl.c;h=66661969e3720193d7f7af4c5295ee02d8db13d5;hb=b24e3c93a2faa94b138739d1b3e8b631f8123492;hp=80bec0f4fb8fcc8b7ea38b9329a3aa04a54feacd;hpb=952a0fe4afb455c8d719eb920b9e3983405af3ec;p=osl.git diff --git a/osl.c b/osl.c index 80bec0f..6666196 100644 --- a/osl.c +++ b/osl.c @@ -1702,6 +1702,7 @@ __export int osl_get_nth_row(const struct osl_table *t, unsigned col_num, unsigned num_rows; int ret; + *result = NULL; if (n == 0) return -E_OSL_RB_KEY_NOT_FOUND; ret = osl_get_num_rows(t, &num_rows);