Skip to content
Snippets Groups Projects
Commit 427b6e1f authored by Antoine Fontaine's avatar Antoine Fontaine 🎱
Browse files

The moodle provider no longer frees the Courses it gives back, like in...

The moodle provider no longer frees the Courses it gives back, like in e17d48c2
parent a6ffae52
Branches
Tags
No related merge requests found
......@@ -235,12 +235,6 @@ moodle_provider_get_courses_sync (courses_cb cb,
free (html);
cb(cb_arg, c);
for (size_t i=0; i<c.course_count; i++) {
free (c.courses[i].url);
free (c.courses[i].name);
}
free (c.courses);
return MOODLE_ERROR_OK;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment