diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-28 22:05:01 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-02-28 22:05:01 +0000 |
| commit | 652e10acd9179186e7b542e65ebfe44a56ccae79 (patch) | |
| tree | 7c3b93c064f9d607f6f8b4c2644cf954fcb33d31 | |
| parent | e1d3f79c50c43e0400a29cecc05c025394ae11cc (diff) | |
| download | ruby-652e10acd9179186e7b542e65ebfe44a56ccae79.tar.gz ruby-652e10acd9179186e7b542e65ebfe44a56ccae79.tar.xz ruby-652e10acd9179186e7b542e65ebfe44a56ccae79.zip | |
* dln.c (dln_load): fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | dln.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -11,6 +11,8 @@ Fri Mar 1 06:25:49 2002 Tanaka Akira <akr@m17n.org> (Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io, UNIXSocket#socketpair and UNIXSocket#pair. + * dln.c (dln_load): fix typo. + Wed Feb 27 16:30:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c (rb_mod_include): load modules in argument order. @@ -1318,7 +1318,7 @@ dln_load(file) rb_loaderror("%s - %s", strerror(errno), file); } shl_findsym(&lib, buf, TYPE_PROCEDURE, (void*)&init_fct); - free(buf) + free(buf); if (init_fct == NULL) { shl_findsym(&lib, buf, TYPE_UNDEFINED, (void*)&init_fct); if (init_fct == NULL) { |
