mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-30 02:13:18 -06:00
bugfix in libsg
This commit is contained in:
1 parent
5d27d1885f
commit
28aa04739a
1 file changed
+1
-1
@@ -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