mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
bugfix in libsg
This commit is contained in:
@@ -34,7 +34,7 @@ sg_raise_sqlite(int rc, GuExn* err)
|
||||
|
||||
GuExnData* err_data = gu_raise(err, SgError);
|
||||
if (err_data) {
|
||||
err_data->data = gu_malloc(err_data->pool, strlen(msg+1));
|
||||
err_data->data = gu_malloc(err_data->pool, strlen(msg)+1);
|
||||
strcpy(err_data->data, msg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user