mirror of
https://github.com/anope/anope.git
synced 2026-06-30 18:46:38 +02:00
BUILD : 1.7.5 (352) BUGS : N/A NOTES : corrected a semi-colon that my compiled dosnt mind, but certuss does :)
git-svn-id: svn://svn.anope.org/anope/trunk@352 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@228 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
fe0992a6ab
commit
13503f0a21
+4
-4
@@ -1859,7 +1859,7 @@ void moduleDelData(ModuleData **md, char *key)
|
||||
current->next = NULL;
|
||||
free(current);
|
||||
}
|
||||
prev = current;;
|
||||
prev = current;
|
||||
current = next;
|
||||
}
|
||||
}
|
||||
@@ -1893,7 +1893,7 @@ void moduleDelAllData(ModuleData **md)
|
||||
current->next = NULL;
|
||||
free(current);
|
||||
}
|
||||
prev = current;;
|
||||
prev = current;
|
||||
current = next;
|
||||
}
|
||||
free(mod_name);
|
||||
@@ -1945,7 +1945,7 @@ void moduleDelAllDataMod(Module *m)
|
||||
moduleCleanStruct(&ci->memos.memos[j].moduleData);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (freeme) {
|
||||
free(mod_current_module_name);
|
||||
@@ -1959,7 +1959,7 @@ void moduleDelAllDataMod(Module *m)
|
||||
* @param moduleData the moduleData struct to "clean"
|
||||
**/
|
||||
void moduleCleanStruct(ModuleData **moduleData) {
|
||||
ModuleData *current = *moduleData;;
|
||||
ModuleData *current = *moduleData;
|
||||
ModuleData *next = NULL;
|
||||
|
||||
while(current) {
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="5"
|
||||
VERSION_BUILD="351"
|
||||
VERSION_BUILD="352"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.5 (352)
|
||||
# BUGS : N/A
|
||||
# NOTES : corrected a semi-colon that my compiled dosnt mind, but certuss does :)
|
||||
#
|
||||
# BUILD : 1.7.5 (351)
|
||||
# BUGS : N/A
|
||||
# NOTES : Rewrote the internals of moduleData, this will save _lots_ of memory especially on larger networks. The downside is modules using it need to make a tiny, tiny change... :/
|
||||
|
||||
Reference in New Issue
Block a user