Remove intially committed by error thingie. Detected by WIP portimport(1).
This commit is contained in:
parent
6dc83e14c5
commit
61f57bf0cd
@ -1,17 +0,0 @@
|
||||
$OpenBSD: old-patch-calgebra_main_cpp,v 1.1.1.1 2013/04/24 11:42:15 zhuk Exp $
|
||||
--- calgebra/main.cpp.orig Fri Sep 9 20:42:50 2011
|
||||
+++ calgebra/main.cpp Fri Sep 9 20:42:42 2011
|
||||
@@ -130,7 +130,13 @@ int main(int argc, char *argv[])
|
||||
for(int i=0; i<history_get_history_state()->length; i++) {
|
||||
HIST_ENTRY *he = remove_history(i);
|
||||
// free(he->line);
|
||||
+#if defined(__OpenBSD__)
|
||||
+ // very old lib!
|
||||
+ free(he->line);
|
||||
+ free(he);
|
||||
+#else
|
||||
free_history_entry(he);
|
||||
+#endif
|
||||
}
|
||||
qDebug("\nExit.");
|
||||
return 0;
|
Loading…
Reference in New Issue
Block a user