We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9003a00 + 9266ee2 commit feff4f5Copy full SHA for feff4f5
src/sass_context.cpp
@@ -259,6 +259,8 @@ extern "C" {
259
static void sass_clear_options (struct Sass_Options* options);
260
static void sass_reset_options (struct Sass_Options* options);
261
static void copy_options(struct Sass_Options* to, struct Sass_Options* from) {
262
+ // do not overwrite ourself
263
+ if (to == from) return;
264
// free assigned memory
265
sass_clear_options(to);
266
// move memory
0 commit comments