mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -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);
|
GuExnData* err_data = gu_raise(err, SgError);
|
||||||
if (err_data) {
|
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);
|
strcpy(err_data->data, msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user